[new feature] ActionSheet: add duration prop (#3608)

This commit is contained in:
neverland
2019-06-23 17:45:22 +08:00
committed by GitHub
parent a0d2efd9bb
commit d6ed8cfe55
3 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -99,8 +99,9 @@ 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` |
| lock-scroll | Whether to lock background scroll | `Boolean` | `true` |
| duration | Transition duration, unit second | `Number` | `0.3` |
| 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` |