[new feature] ActionSheet: add close-on-click-action prop

This commit is contained in:
陈嘉涵
2019-05-05 16:43:12 +08:00
parent 8afcb1e14a
commit 0288fb35a4
5 changed files with 47 additions and 11 deletions
+1
View File
@@ -102,6 +102,7 @@ export default {
| title | 标题 | `String` | - | - |
| cancel-text | 取消按钮文字 | `String` | - | - |
| overlay | 是否显示遮罩层 | `Boolean` | `true` | - |
| close-on-click-action | 是否在点击选项后关闭 | `Boolean` | `false` | 2.0.0 |
| close-on-click-overlay | 是否在点击蒙层后关闭 | `Boolean` | `true` | - |
| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | 1.1.11 |
| get-container | 指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数 | `String | () => HTMLElement` | - | - |