mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
chore: release @vant/touch-emulator@1.3.1 (#8987)
This commit is contained in:
parent
f595755484
commit
a1d95e685c
@ -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 />
|
||||
```
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
### [v1.3.1]
|
||||
|
||||
`2021-07-06`
|
||||
|
||||
- support data-no-touch-simulate attr
|
||||
|
||||
### [v1.3.0]
|
||||
|
||||
`2021-05-26`
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/touch-emulator",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "Vant touch emulator",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user