mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs(components): [dialog/tour] add missing default value to model-value (#22571)
This commit is contained in:
@@ -169,7 +169,7 @@ dialog/events
|
||||
|
||||
| Name | Description | Type | Default |
|
||||
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ----------- |
|
||||
| model-value / v-model | visibility of Dialog | ^[boolean] | — |
|
||||
| model-value / v-model | visibility of Dialog | ^[boolean] | false |
|
||||
| title | title of Dialog. Can also be passed with a named slot (see the following table) | ^[string] | '' |
|
||||
| width | width of Dialog, default is 50% | ^[string] / ^[number] | '' |
|
||||
| fullscreen | whether the Dialog takes up full screen | ^[boolean] | false |
|
||||
|
||||
@@ -84,7 +84,7 @@ tour-step component configuration with the same name has higher priority
|
||||
| mask | whether to enable masking, change mask style and fill color by pass custom props | `boolean` \| ^[Object]`{ style?: CSSProperties; color?: string; }` | `true` |
|
||||
| gap | transparent gap between mask and target | `TourGap` | ^[Object]`{ offset: 6, radius: 2}` |
|
||||
| type | type, affects the background color and text color | `default` \| `primary` | `default` |
|
||||
| model-value / v-model | open tour | `boolean` | — |
|
||||
| model-value / v-model | open tour | `boolean` | `false` |
|
||||
| current / v-model:current | what is the current step | `number` | — |
|
||||
| scroll-into-view-options | support pass custom scrollIntoView options | `boolean` \| `ScrollIntoViewOptions` | ^[Object]`{ block: 'center' }` |
|
||||
| z-index | Tour's zIndex | `number` | `2001` |
|
||||
|
||||
Reference in New Issue
Block a user