mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@vant/touch-emulator"></script>
|
<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
|
# Changelog
|
||||||
|
|
||||||
|
### [v1.3.1]
|
||||||
|
|
||||||
|
`2021-07-06`
|
||||||
|
|
||||||
|
- support data-no-touch-simulate attr
|
||||||
|
|
||||||
### [v1.3.0]
|
### [v1.3.0]
|
||||||
|
|
||||||
`2021-05-26`
|
`2021-05-26`
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vant/touch-emulator",
|
"name": "@vant/touch-emulator",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "Vant touch emulator",
|
"description": "Vant touch emulator",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user