Introduce
Execute the bound event only once
Example
Code
<script setup lang="ts">
const handler = () => {
window.alert('Hello!')
}
</script>
<template>
<button v-ononce:click="handler">only alert once</button>
</template>
<script setup lang="ts">
const handler = () => {
window.alert('Hello!')
}
</script>
<template>
<button v-ononce:click="handler">only alert once</button>
</template>