v-click multi stages
#1914
-
https://sli.dev/guide/animations#enter-leave I'm trying to create something like this: <div v-click="[1,3,9,10]" /> I want to have multiple stages where my elements is enter and leave. I thing that this is possible, like in code blocks, where I can create comenting like this: ```js{1-2|3-4|5-6|all}
... |
Beta Was this translation helpful? Give feedback.
Answered by
KermanX
Oct 26, 2024
Replies: 1 comment 1 reply
-
One possible solution: ---
clicks: 10
--
<div v-if="[1,2,9].includes($clicks)" /> BTW, ```js{1-2}{3-4}{5-6}
... doesn't work in Slidev. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KermanX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One possible solution:
BTW,
doesn't work in Slidev.