An open API service indexing awesome lists of open source software.

https://github.com/chenjiahan/vtap

Vue tap plugin to remove click delays in iOS devices.
https://github.com/chenjiahan/vtap

click delay tap vue vue-tap

Last synced: about 1 year ago
JSON representation

Vue tap plugin to remove click delays in iOS devices.

Awesome Lists containing this project

README

          

# Vtap
`vtap` is a vue plugin to remove click delays in iOS.
- Bind tap event in iOS devices
- Lightweight, 1KB gzipped
- Built with TypeScript

## Install
```
yarn add vtap
```

## Usage

``` javascript
import Vue from 'vue'
import Tap from 'vtap'
Vue.use(Tap);
```

`v-tap` derective will prevent the click event and bind a tap event in iOS devices.
The derective will be ignored in other systems such as Android.
``` html
Tap
```

You can add stop modifiers to call event.stopPropagation().
``` html
Tap
```

## License

[MIT](http://opensource.org/licenses/MIT)