vue2-hover-intent

Hover intent

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue2-hover-intent
401.0.34 years ago4 years agoMinified + gzip package size for vue2-hover-intent in KB

Readme

Hover intent directive for VueJs V2
Usage: npm install vue2-hover-intent --save-dev
app.js: - import HoverIntent from 'vue2-hover-intent'; - Vue.directive('hover-intent', HoverIntent); component.vue: - <a v-hover-intent="functionToCall.bind(null, arg1)"> // defaults to 200 milliseconds - <a v-hover-intent:500="functionToCall.bind(null, arg1)"> - <a v-hover-intent="functionToCall"> // no arguments needed for the function