Introduce
Double click to trigger callback
Example
Code
<script setup lang="ts">
const handler = () => {
window.alert('double click')
}
</script>
<template>
<button v-doubleclick:500="handler">double click</button>
</template>
<script setup lang="ts">
const handler = () => {
window.alert('double click')
}
</script>
<template>
<button v-doubleclick:500="handler">double click</button>
</template>