mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-05 22:14:44 +00:00
Merge pull request #16 from JauntyTech/add-textarea-events
Emit change & input events from mdTextarea
This commit is contained in:
commit
32a59e3cd6
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@
|
|||
onInput() {
|
||||
manageHasValueClass(this.$el.value, this.parentClasses);
|
||||
this.$parent.inputLength = this.$el.value.length;
|
||||
this.$emit('change', this.$el.value);
|
||||
this.$emit('input', this.$el.value);
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue