feat(ShareSheet): add overlay-style、overlay-class prop (#8225)

This commit is contained in:
neverland
2021-02-26 10:47:09 +08:00
committed by GitHub
parent 87b6654900
commit 2c2cd104c9
3 changed files with 12 additions and 12 deletions
+2
View File
@@ -185,6 +185,8 @@ export default {
| description | 标题下方的辅助描述文字 | _string_ | - |
| duration | 动画时长,单位秒 | _number \| string_ | `0.3` |
| overlay | 是否显示遮罩层 | _boolean_ | `true` |
| overlay-class | 自定义遮罩层类名 | _string \| Array \| object_ | - |
| overlay-style | 自定义遮罩层样式 | _object_ | - |
| lock-scroll | 是否锁定背景滚动 | _boolean_ | `true` |
| lazy-render | 是否在显示弹层时才渲染内容 | _boolean_ | `true` |
| close-on-popstate | 是否在页面回退时自动关闭 | _boolean_ | `true` |