chore: release @vant/touch-emulator@1.3.1 (#8987)

This commit is contained in:
neverland
2021-07-06 17:46:15 +08:00
committed by GitHub
parent f595755484
commit a1d95e685c
3 changed files with 15 additions and 1 deletions

View File

@@ -29,3 +29,11 @@ import '@vant/touch-emulator';
```html
<script src="https://cdn.jsdelivr.net/npm/@vant/touch-emulator"></script>
```
## 禁用 touch 模拟
在标签上添加 `data-no-touch-simulate` 属性后,可以使这个标签(以及它的子元素)不触发 `touch` 模拟事件。
```html
<div data-no-touch-simulate />
```