From cb6276451e60a2a98ffa16d000f33335eb4321bb Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 26 Feb 2021 10:31:15 +0800 Subject: [PATCH] =?UTF-8?q?docs(ActionSheet):=20add=20overlay-style?= =?UTF-8?q?=E3=80=81overlay-class=20(#8223)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/action-sheet/README.md | 2 ++ src/action-sheet/README.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/action-sheet/README.md b/src/action-sheet/README.md index b6b3968db..abcdc2997 100644 --- a/src/action-sheet/README.md +++ b/src/action-sheet/README.md @@ -175,6 +175,8 @@ export default { | duration | Transition duration, unit second | _number \| string_ | `0.3` | | round | Whether to show round corner | _boolean_ | `true` | | overlay | Whether to show overlay | _boolean_ | `true` | +| overlay-class | Custom overlay class | _string \| Array \| object_ | - | +| overlay-style | Custom overlay style | _object_ | - | | lock-scroll | Whether to lock background scroll | _boolean_ | `true` | | lazy-render | Whether to lazy render util appeared | _boolean_ | `true` | | close-on-popstate | Whether to close when popstate | _boolean_ | `false` | diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md index f85c97dec..5f5b5c130 100644 --- a/src/action-sheet/README.zh-CN.md +++ b/src/action-sheet/README.zh-CN.md @@ -189,6 +189,8 @@ export default { | duration | 动画时长,单位秒 | _number \| string_ | `0.3` | | round | 是否显示圆角 | _boolean_ | `true` | | overlay | 是否显示遮罩层 | _boolean_ | `true` | +| overlay-class | 自定义遮罩层类名 | _string \| Array \| object_ | - | +| overlay-style | 自定义遮罩层样式 | _object_ | - | | lock-scroll | 是否锁定背景滚动 | _boolean_ | `true` | | lazy-render | 是否在显示弹层时才渲染节点 | _boolean_ | `true` | | close-on-popstate | 是否在页面回退时自动关闭 | _boolean_ | `false` |