Autoresize directive for ion-textarea that uses in Ionic 2
1.Generate directive with Ionic2-CLI ionic g directive autoresize
2.Clone this this directive into app/components/autoresize and replace the autoresize.ts
3.Declare it in the NgModule insde the app.module.ts
4.Add the selector inside your ion-texarea element
<ion-textarea auto-resize></ion-textarea>
5.Enjoy!
[Teoh770](mailto: [email protected])