vue-touch-feedback-plugin
v1.0.2
Published
a touch feedback directive for vue
Downloads
10
Readme
vue-touch-feedback
Vue directive for touch feedback in mobile applications.fork from touchFeedback
Requirements
- Vue.js 2.x
Install
npm install vue-touch-feedback-plugin --save
Usage
import VueTouchFeedback from 'vue-touch-feedback-plugin'
Vue.use(VueTouchFeedback)
<span v-feedback >touch me</span>
Options
- feedbackClass : add className when touch element. default 'feedback'
in js:
Vue.use(VueTouchFeedback,{
feedbackClass: 'fb'
})
or
<span v-feedback="{feedbackClass:'fb'}" >touch me</span>