Skip to content

Autoresize directive for ion-textarea that uses in Ionic 2

Notifications You must be signed in to change notification settings

teoh770/ionic2-iontexarea-autoresize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7b9566f · Dec 7, 2016

History

5 Commits
Dec 7, 2016
Dec 7, 2016

Repository files navigation

Ionic 2 Textarea Autoresize

Autoresize directive for ion-textarea that uses in Ionic 2

Usage

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!

Contact

[Teoh770](mailto: [email protected])

About

Autoresize directive for ion-textarea that uses in Ionic 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published