Skip to content

v-doubleClick ​

功能介绍 ​

双击触发事件

示例 ​

使用 ​

typescript
<script setup lang="ts">
  const handle = () => {
    window.alert('触发了事件')
  }
</script>
<template>
  <button v-doubleClick="handle">双击我</button>
</template>

Released under the MIT License.