bsdfzzzy / vue2-hammer

Hammer.js wrapper for Vue 2.x to support some touching operation in the mobile.
MIT License
253 stars 48 forks source link

fix : Global configuration is not adapted #7

Closed leesnhyun closed 5 years ago

leesnhyun commented 6 years ago

If I use global recognizer configuration, it's not applied. ( example below )

VueHammer.config.press = { time: 1000 }
Vue.use(VueHammer)

because,

that.config[event] = {}

this code line override user's setting.