ng-autosize
ng-autosize is an Angular2, Angular4 + directive that automatically adjusts textarea height to fit content.
It adjusts the textarea height automatically to any text input, or changes to the model bound to the textarea.
Demo
http://stevepapa.com/ng-autosizeInstallation:
```bash npm install ng-autosize ```Use Example:
Add the declaration to your @NgModule: ```typescript import {Autosize} from 'ng-autosize'; ... @NgModule({ declarations:Autosize
})
```
Use directly inside your HTML templates by adding the word 'autosize' to any textarea.
```
```