# anima-yocto-touch

> the touch from yocto

Latest version **2.0.7** (published 2018-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install anima-yocto-touch
pnpm add anima-yocto-touch
yarn add anima-yocto-touch
bun add anima-yocto-touch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.7 |
| Published | 2018-04-27 |
| First published | 2015-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 2 |
| Unpacked size | 46.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wanyan.wz@taobao.com |
| Maintainers | yuanfei.gyf |
| Keywords | anima, anima-yocto, anima-yocto-touch |

## Links

- npm: https://www.npmjs.com/package/anima-yocto-touch
- Repository: https://gitlab.alibaba-inc.com/animajs/yocto-touch
- Homepage: http://gitlab.alibaba-inc.com/animajs/yocto-touch
- Issues: http://gitlab.alibaba-inc.com/animajs/yocto-touch/issues
- npm.io page: https://npm.io/package/anima-yocto-touch

## Dependencies (2)

- [anima-yocto-core](https://npm.io/package/anima-yocto-core.md) ^2.0.0
- [anima-yocto-event](https://npm.io/package/anima-yocto-event.md) ^2.0.0

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 2.0.7 (latest) — 2018-04-27
- 3.0.0-beta.3 (beta) — 2018-04-28
- 2.0.6 — 2018-04-27
- 3.0.0-beta.2 — 2018-01-09
- 2.0.5 — 2017-11-24
- 3.0.0-beta.1 — 2017-11-21
- 2.0.5-beta.1 — 2017-11-14
- 2.0.4 — 2017-03-30
- 2.0.1 — 2016-07-09
- 2.0.0 — 2016-04-23
- 1.0.7 — 2015-12-28
- 1.0.9 — 2015-12-28
- 1.0.8 — 2015-12-28
- 1.0.6 — 2015-12-28
- 1.0.5 — 2015-12-28
- … 6 more at https://npm.io/package/anima-yocto-touch/versions

## README

# anima-yocto-touch [![npm](https://img.shields.io/npm/v/anima-yocto-touch.svg?style=flat-square)](https://www.npmjs.com/package/anima-yocto-touch) [![npm](https://img.shields.io/npm/dm/anima-yocto-touch.svg?style=flat-square)](https://www.npmjs.com/package/anima-yocto-touch)

---

An awesome npm package!

---

## Install

```
$ npm install anima-yocto-touch --save
```

## Yocto-touch

新增模块，提供`tap`事件，用于解决移动端`click`事件300ms延迟以及点透等问题。

相比`Zepto`的`tap`事件，`Yocto`里面的`tap`事件会阻止原生的`click`事件防止点透的发生，同时会根据点击的元素去触发对应的默认事件，比如label，input等元素。

用法和原生事件一样：

````js

var $ = require(‘anima-yocto-touch’);

$(‘body’).on(‘tap’, function(){});

$(‘body’).tap(function(){});

````

---
_Source: https://npm.io/package/anima-yocto-touch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
