Skip to content

Commit f6763df

Browse files
committed
numeric throttle touch repeat
1 parent f86f052 commit f6763df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/NumericInput.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template lang="pug">
2-
q-input(outlined dense filled min='0' type='number'
2+
q-input(outlined dense filled min='0'
33
:model-value='modelValue'
44
@update:model-value='updateModelValue')
55
template(#prepend)
66
q-btn(flat icon='remove'
7-
v-touch-repeat:0:100.mouse.enter.space='decrement')
7+
v-touch-repeat:0:300:100.mouse.left='decrement')
88
template(#append)
99
q-btn(flat icon='add'
10-
v-touch-repeat:0:100.mouse.enter.space='increment')
10+
v-touch-repeat:0:300:100.mouse.right='increment')
1111
</template>
1212

1313
<script setup>

0 commit comments

Comments
 (0)