Skip to content

v-doubleClick

Function Introduction

Trigger an event on double-click

Example

Usage

typescript
<script setup lang="ts">
  const handle = () => {
    window.alert('Triggered an event')
  }
</script>
<template>
  <button v-doubleClick="handle">Double click me</button>
</template>

Released under the MIT License.