[new feature] ActionSheet: add lock-scroll prop

This commit is contained in:
陈嘉涵
2019-05-22 17:46:58 +08:00
parent 9b2a598979
commit 4c1075020f
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -99,6 +99,7 @@ export default {
| overlay | Whether to show overlay | `Boolean` | `true` |
| close-on-click-action | Whether to close when click action | `Boolean` | `false` |
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `true` |
| lock-scroll | Whether to lock background scroll | `Boolean` | `true` |
| lazy-render | Whether to lazy render util appeared | `Boolean` | `true` |
| get-container | Return the mount node for action-sheet | `String | () => HTMLElement` | - |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `Boolean` | `false` |