docs(SwipeCell): add async-close instruction (#2554)

* docs(SwipeCell): add async-close instruction
This commit is contained in:
Jake 2019-12-19 10:08:53 +08:00 committed by GitHub
parent 1d93057061
commit bef4b0cf06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>