1.0.2 • Published 6 years ago

@pixelgram/v-feedback v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

v-feedback

Event driven feedback plugin for Vue.js

What

If the element which you selected detects "mouseenter" or "touchstart", it will be added '.is-enter' class. Also, if the element detects "mouseleave" or "touchend", it will be added '.is-leave' class.

Install

npm install @pixelgram/v-feedback -S

Quick Start

import Vue from 'vue'
import Feedback from 'v-feedback'

Vue.use(Feedback)

Usage

<button v-feedback>Button</button>

detects "mouseenter" or "touchstart", it will be added '.is-enter' class.

Also, detects "mouseleave" or "touchend", it will be added '.is-leave' class.

License

MIT © 2016 c.uehira.