feat(Popup): add close-on-popstate prop (#4845)
This commit is contained in:
@@ -127,6 +127,7 @@ export default {
|
||||
| round | Whether to show round corner | *boolean* | `false` | 2.0.7 |
|
||||
| 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` | 2.2.10 |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` | - |
|
||||
| closeable | Whether to show close icon | *boolean* | `false` | 2.2.0 |
|
||||
| close-icon | Close icon name | *string* | `cross` | 2.2.0 |
|
||||
|
||||
@@ -138,6 +138,7 @@ export default {
|
||||
| round | 是否显示圆角 | *boolean* | `false` | 2.0.7 |
|
||||
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` | - |
|
||||
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` | - |
|
||||
| close-on-popstate | 是否在页面回退时自动关闭 | *boolean* | `false` | 2.2.10 |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` | - |
|
||||
| closeable | 是否显示关闭图标 | *boolean* | `false` | 2.2.0 |
|
||||
| close-icon | 关闭图标名称或图片链接 | *string* | `cross` | 2.2.0 |
|
||||
|
||||
Reference in New Issue
Block a user