Merge pull request #16 from JauntyTech/add-textarea-events

Emit change & input events from mdTextarea
This commit is contained in:
Marcos Moura 2016-10-20 16:55:49 -02:00 committed by GitHub
commit 32a59e3cd6

View file

@ -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() {