hover-intent-vue

A vue directive
2,971 26
Install
npm install hover-intent-vue
Latest Version:1.0.0
License:MIT
Last Updated:Apr 11, 2024
Links: GitHub  ·  npm
Maintainer: hybridwebdev

Hover Intent - Vue

A vue directive that allows you to trigger a hover event intelligently. Wraps itself around hoverintent.js from https://github.com/tristen/hoverintent

Build Setup

# install dependencies
npm install

To use

  import Vue from 'vue'
  import HoverIntent from 'hover-intent';
  Vue.directive('hover-intent', HoverIntent)

In your component, use it as follows:

<component-name v-hover-intent="yourMethodHere"/>

Your callback will receive one single value. True when the hover is triggered, and false when it leaves.

Related Packages

@animated-color-icons/lucide-vue

Animated Lucide icons for Vue — CSS-only hover animations with two-tone color su...

2,108 303
vue-hover-effect

WebGL-powered image hover transition effects for Vue 3, built on top of Three.js...

1,634
world-map-vue

A Vue JS component for displaying a world map with colored countries and overlay...

1,837
vue-kinesis

Easily create complexe interactive animations with Vue.js

132,497 1,497

Version History

Version Released License
1.0.0 MIT