Introduction
The plugin for Vue.js provides the dead-simple Vue component implements textarea with automatically adjustable height.
🛠Features
- Bind with
v-model - Set min/max height limits with appropriate reactive props
- Enable/disable auto resizing dynamically
- Trigger resize manually with
$refs.myTextarea.resize() - Handle all native events with
.nativemodifier read more - Use native attrs like this
<textarea-autosize rows="1" ... /> - Force
!importantfor style properties e.g. when using http://cleanslatecss.com/ - There is no CSS out of the box, so feel free to style it as you wish
GitHub | Demo | More packages by DevStark
Guide →