To create textarea element use this component.
Code:
<fvTextarea v-model="input" />
export default {
data () {
return {
input: undefined
}
}
}
Examples:
Notes:
- This component wrapped to normal html textarea element, so custom events and attributes are available on this.
API:
Name | Type | Default | Description |
---|
value* | | --- | |
required | | false | Does input required to fill? Also with function type you can pass function with one argument (fn(value){}) and return Boolean value. |
autoHeight | | false | Calculate and set height of element at runtime. |
Name | Params | Description |
---|
input | | Fired when component request to change value. |