vue-resize-on-event
VueJS directive to resize a component when a given event fires.
Installation
npm install --save vue-resize-on-event
Example
Include the module for the input
event to register the custom directive v-resize-on-input
:
mixins: //registers directive v-resize-on-input { return text: '' }
Usage
Add attribute v-resize-on-input
to a textarea
element to have it resize automatically when its value is changed interactively.