v-touch-hold in Typescript #16474
Closed
Answered
by
yusufkandemir
john-
asked this question in
General - Components / Directives / etc
Replies: 2 comments 1 reply
-
I got it to work even though it is hacky. I would rather pass the
|
Beta Was this translation helpful? Give feedback.
0 replies
-
import { TouchHoldValue } from 'quasar';
const handleHold: TouchHoldValue = (details) => {
// ...
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yusufkandemir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is probably not a Quasar question but I want to make sure there is nothing Quasar related that I am missing.
I am trying to add the
v-touch-hold
directive to my Quasar application and have been unable to work through compile errors:Adding an
any
with this result makes me think I am missing something basic:I am new to Typescript so currently unable to determine how to map the vs code hint into a fix.
Eventually I want to pass the
xmit
object to the handler but first things first.Beta Was this translation helpful? Give feedback.
All reactions