Socket
Socket
Sign inDemoInstall

vue-touch

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-touch - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

2

package.json
{
"name": "vue-touch",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"main": "dist/vue-touch.js",

@@ -5,0 +5,0 @@ "files": [

@@ -65,2 +65,3 @@ # vue-touch

**Example**
``` html

@@ -103,3 +104,4 @@ <!-- detect only horizontal pans with a threshold of 100 -->

```
**Example**
```html
<v-touch

@@ -110,3 +112,3 @@ <!-- enable all recognizers -->

<!-- disable all recognizers -->
v-bind:enabled="true"
v-bind:enabled="false"

@@ -119,3 +121,18 @@ <!-- pass an object to enable and disable recognizers individually -->

#### 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**
```html
<v-touch options="{ touchAction: 'pan' }" />
```
### Public Component Methods

@@ -122,0 +139,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc