This repository was archived by the owner on Dec 26, 2018. It is now read-only.
v2.0.0-beta.3
Pre-release
Pre-release
New Features
The 'options' prop
Hammer accepts a few general options that are normally passed when creating a Hammer instance with new Hammer() or new Hammer.Manager().
In vue-touch, you can pass those options via the options prop:
| Prop | allowed Values |
|---|---|
| options | https://hammerjs.github.io/api/#hammer.defaults |
Example
<v-touch options="{ touchAction: 'pan' }" />