mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
docs(SwipeCell): add async-close instruction (#2554)
* docs(SwipeCell): add async-close instruction
This commit is contained in:
parent
1d93057061
commit
bef4b0cf06
@ -26,6 +26,8 @@
|
||||
|
||||
### 异步关闭
|
||||
|
||||
当开启`async-close`时, 通过绑定`close`事件,可以自定义两侧滑动内容点击时的关闭行为
|
||||
|
||||
```html
|
||||
<van-swipe-cell id="swipe-cell" right-width="{{ 65 }}" left-width="{{ 65 }}" async-close bind:close="onClose">
|
||||
<view slot="left">选择</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user