File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
v-if =" controls"
25
25
class =" btn btn-decrement"
26
26
@mousedown =" start(decrement)"
27
- @touchstart.native.prevent = " start(decrement)"
28
- @touchend.native.prevent = " stop"
27
+ @touchstart = " $event.preventDefault(); start(decrement)"
28
+ @touchend = " $event.preventDefault(); stop($event) "
29
29
:disabled =" disabled || numericValue <= min"
30
30
>
31
31
<i class =" btn-icon" ></i >
35
35
v-if =" controls"
36
36
class =" btn btn-increment"
37
37
@mousedown =" start(increment)"
38
- @touchstart.native.prevent = " start(increment)"
39
- @touchend.native.prevent = " stop"
38
+ @touchstart = " $event.preventDefault(); start(increment)"
39
+ @touchend = " $event.preventDefault(); stop($event) "
40
40
:disabled =" disabled || numericValue >= max"
41
41
>
42
42
<i class =" btn-icon" ></i >
You can’t perform that action at this time.
0 commit comments