Vue Auto Resize Directive
A simple directive to make your textareas height automatically grow as the user types some text.
Try it out live on https://pninim.yiddishe-kop.com.
Installation
Install via NPM:
npm i vue-auto-resize
Usage
Globaly
To have the directive available inyour whole project, import it in your main entypoint:
Vue
Then you can use the directive on any textarea like so:
Locally
If you only want to make available in one component, you can import it locally:
The whole thing is only 348 bytes before minification! 😎💡
License
MIT