[breaking change] Popup: add lockScroll instead of lockOnScroll & preventScroll (#688)
This commit is contained in:
@@ -76,7 +76,7 @@ export default {
|
||||
| cancelButtonText | Cancel button test | `String` | `Cancel` | - |
|
||||
| overlay | Whether to show overlay | `Boolean` | `true` | - |
|
||||
| closeOnClickOverlay | Whether to close when click overlay | `Boolean` | `false` | - |
|
||||
| lockOnScroll | Whether to lock body scroll | `Boolean` | `true` | - |
|
||||
| lockScroll | Whether to lock body scroll | `Boolean` | `true` | - |
|
||||
|
||||
#### Advanced Usage
|
||||
If you need to render vue components within a dialog, you can use dialog component.
|
||||
@@ -130,7 +130,7 @@ export default {
|
||||
| cancel-button-text | Cancel button test | `String` | `Cancel` | - |
|
||||
| overlay | Whether to show overlay | `Boolean` | `true` | - |
|
||||
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `false` | - |
|
||||
| lock-on-scroll | Whether to lock body scroll | `Boolean` | `true` | - |
|
||||
| lock-scroll | Whether to lock background scroll | `Boolean` | `true` | - |
|
||||
|
||||
### Event
|
||||
|
||||
|
||||
Reference in New Issue
Block a user