Fixed eslint issue on Spinner

pull/12/head
mertsincan 2019-05-03 13:00:20 +03:00
parent 4b38376555
commit 41d8be4bbb
1 changed files with 4 additions and 2 deletions

View File

@ -124,16 +124,18 @@ export default {
},
computed: {
listeners() {
let vm = this;
return {
...this.$listeners,
input: event => {
this.$emit('input', event.target.value)
},
focus: () => {
this.focused = true;
vm.focused = true;
},
blur: event => {
this.focused = false;
vm.focused = false;
const parsedValue = this.parseValue(event.target.value);
this.$emit('input', parsedValue);