slidev icon indicating copy to clipboard operation
slidev copied to clipboard

Hide on click 0, show on click 1 and hide on click 2

Open robiot opened this issue 3 years ago • 3 comments

Is it possible?

Now when setting v-click-hide, the v-click doesn't work and it is shown at click 0.

robiot avatar Apr 09 '22 17:04 robiot

Wouldn't v-if="$slidev.nav.clicks === 2" be what you need? Just remember to add clicks: 3 in the slide proprieties.

Leone25 avatar May 11 '22 18:05 Leone25

Seems like it could work. Thanks! But having the ability to use both v-click and v-click-hide on the same element would still be a great feature.

robiot avatar May 11 '22 19:05 robiot

you are right, tho I'm defensively not the person that should implement it lol

I'm happy that i could help you tho

Leone25 avatar May 12 '22 09:05 Leone25

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 14 '22 16:09 stale[bot]