docs: type highlight (#4264)
This commit is contained in:
+12
-12
@@ -100,18 +100,18 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Whether to show popup | `boolean` | `false` | - |
|
||||
| overlay | Whether to show overlay | `boolean` | `true` | - |
|
||||
| position | Can be set to `top` `bottom` `right` `left` | `string` | `center` | - |
|
||||
| overlay-class | Custom overlay class | `string` | - | - |
|
||||
| overlay-style | Custom overlay style | `object` | - | - |
|
||||
| duration | Transition duration, unit second | `number` | `0.3` | - |
|
||||
| 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-click-overlay | Whether to close when click overlay | `boolean` | `true` | - |
|
||||
| transition | Transition | `string` | `popup-slide` | - |
|
||||
| get-container | Return the mount node for Popup | `string | () => HTMLElement` | - | - |
|
||||
| v-model | Whether to show popup | *boolean* | `false` | - |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` | - |
|
||||
| position | Can be set to `top` `bottom` `right` `left` | *string* | `center` | - |
|
||||
| overlay-class | Custom overlay class | *string* | - | - |
|
||||
| overlay-style | Custom overlay style | *object* | - | - |
|
||||
| duration | Transition duration, unit second | *number* | `0.3` | - |
|
||||
| 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-click-overlay | Whether to close when click overlay | *boolean* | `true` | - |
|
||||
| transition | Transition | *string* | `popup-slide` | - |
|
||||
| get-container | Return the mount node for Popup | *string \| () => HTMLElement* | - | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user