Skip to content

Automatic height control of textarea to fit the content for Angular.

Notifications You must be signed in to change notification settings

techfromsage/ngx-textarea-autosize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx-textarea-autosize

Angular 2+ plugin to automatic height control of textarea to fit the content.

Installation:

NPM:

npm install --save ngx-textarea-autosize

Yarn:

yarn add ngx-textarea-autosize

Usage:

Import module to your @NgModule:

import { TextareaAutosizeModule } from 'ngx-textarea-autosize';

@NgModule({
  imports: [
    TextareaAutosizeModule
  ]
})

Add directive to your textarea

<textarea autosize>Some text</textarea>

About

Automatic height control of textarea to fit the content for Angular.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.6%
  • HTML 10.4%
  • JavaScript 10.2%
  • CSS 0.8%