Added event parameter to the focus and blur methods

pull/12/head
mertsincan 2019-05-28 12:24:32 +03:00
parent 2df8b7eaa9
commit 481bffa368
1 changed files with 2 additions and 2 deletions

View File

@ -234,11 +234,11 @@ export default {
} }
} }
}, },
onFocus() { onFocus(event) {
this.focused = true; this.focused = true;
this.$emit('focus', event); this.$emit('focus', event);
}, },
onBlur() { onBlur(event) {
this.focused = false; this.focused = false;
this.$emit('blur', event); this.$emit('blur', event);
}, },