Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

v2.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@LinusBorg LinusBorg released this 16 Jan 18:51
· 3 commits to master since this 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' }" />