docs: update version tag
This commit is contained in:
+45
-45
@@ -116,54 +116,54 @@ export default {
|
||||
|
||||
### Options
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| title | Title | *string* | - | - |
|
||||
| width | Width | *string \| number* | `320px` | 2.2.7 |
|
||||
| message | Message | *string* | - | - |
|
||||
| messageAlign | Message text align,can be set to `left` `right` | *string* | `center` | - |
|
||||
| className | Custom className | *any* | - | - |
|
||||
| showConfirmButton | Whether to show confirm button | *boolean* | `true` | - |
|
||||
| showCancelButton | Whether to show cancel button | *boolean* | `false` | - |
|
||||
| cancelButtonText | Cancel button text | *string* | `Cancel` | - |
|
||||
| cancelButtonColor | Cancel button color | *string* | `#000` | - |
|
||||
| confirmButtonText | Confirm button text | *string* | `Confirm` | - |
|
||||
| confirmButtonColor | Confirm button color | *string* | `#1989fa` | - |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` | - |
|
||||
| overlayClass | Custom overlay class | *string* | - | 2.2.7 |
|
||||
| overlayStyle | Custom overlay style | *object* | - | 2.2.7 |
|
||||
| closeOnPopstate | Whether to close when popstate | *boolean* | `false` | 2.0.5 |
|
||||
| closeOnClickOverlay | Whether to close when click overlay | *boolean* | `false` | - |
|
||||
| lockScroll | Whether to lock body scroll | *boolean* | `true` | - |
|
||||
| beforeClose | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: Function) => void | - | - |
|
||||
| transition | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - | 2.2.6 |
|
||||
| getContainer | Return the mount node for Dialog | *string \| () => Element* | `body` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| title | Title | *string* | - |
|
||||
| width `v2.2.7` | Width | *string \| number* | `320px` |
|
||||
| message | Message | *string* | - |
|
||||
| messageAlign | Message text align,can be set to `left` `right` | *string* | `center` |
|
||||
| className | Custom className | *any* | - |
|
||||
| showConfirmButton | Whether to show confirm button | *boolean* | `true` |
|
||||
| showCancelButton | Whether to show cancel button | *boolean* | `false` |
|
||||
| cancelButtonText | Cancel button text | *string* | `Cancel` |
|
||||
| cancelButtonColor | Cancel button color | *string* | `#000` |
|
||||
| confirmButtonText | Confirm button text | *string* | `Confirm` |
|
||||
| confirmButtonColor | Confirm button color | *string* | `#1989fa` |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` |
|
||||
| overlayClass `v2.2.7` | Custom overlay class | *string* | - |
|
||||
| overlayStyle `v2.2.7` | Custom overlay style | *object* | - |
|
||||
| closeOnPopstate `v2.0.5` | Whether to close when popstate | *boolean* | `false` |
|
||||
| closeOnClickOverlay | Whether to close when click overlay | *boolean* | `false` |
|
||||
| lockScroll | Whether to lock body scroll | *boolean* | `true` |
|
||||
| beforeClose | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: Function) => void | - |
|
||||
| transition `v2.2.6` | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - |
|
||||
| getContainer | Return the mount node for Dialog | *string \| () => Element* | `body` |
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Whether to show dialog | *boolean* | - | - |
|
||||
| title | Title | *string* | - | - |
|
||||
| width | Width | *string \| number* | `320px` | 2.2.7 |
|
||||
| message | Message | *string* | - | - |
|
||||
| message-align | Message align,can be set to `left` `right` | *string* | `center` | - |
|
||||
| show-confirm-button | Whether to show confirm button | *boolean* | `true` | - |
|
||||
| show-cancel-button | Whether to show cancel button | *boolean* | `false` | - |
|
||||
| cancel-button-text | Cancel button text | *string* | `Cancel` | - |
|
||||
| cancel-button-color | Cancel button color | *string* | `#000` | - |
|
||||
| confirm-button-text | Confirm button text | *string* | `Confirm` | - |
|
||||
| confirm-button-color | Confirm button color | *string* | `#1989fa` | - |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` | - |
|
||||
| overlay-class | Custom overlay class | *string* | - | 2.2.7 |
|
||||
| overlay-style | Custom overlay style | *object* | - | 2.2.7 |
|
||||
| close-on-popstate | Whether to close when popstate | *boolean* | `false` | 2.0.5 |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `false` | - |
|
||||
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` | - |
|
||||
| lock-scroll | Whether to lock background scroll | *boolean* | `true` | - |
|
||||
| before-close | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: Function) => void | - | - |
|
||||
| transition | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - | 2.2.6 |
|
||||
| get-container | Return the mount node for Dialog | *string \| () => Element* | - | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Whether to show dialog | *boolean* | - |
|
||||
| title | Title | *string* | - |
|
||||
| width `v2.2.7` | Width | *string \| number* | `320px` |
|
||||
| message | Message | *string* | - |
|
||||
| message-align | Message align,can be set to `left` `right` | *string* | `center` |
|
||||
| show-confirm-button | Whether to show confirm button | *boolean* | `true` |
|
||||
| show-cancel-button | Whether to show cancel button | *boolean* | `false` |
|
||||
| cancel-button-text | Cancel button text | *string* | `Cancel` |
|
||||
| cancel-button-color | Cancel button color | *string* | `#000` |
|
||||
| confirm-button-text | Confirm button text | *string* | `Confirm` |
|
||||
| confirm-button-color | Confirm button color | *string* | `#1989fa` |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` |
|
||||
| overlay-class `v2.2.7` | Custom overlay class | *string* | - |
|
||||
| overlay-style `v2.2.7` | Custom overlay style | *object* | - |
|
||||
| close-on-popstate `v2.0.5` | Whether to close when popstate | *boolean* | `false` |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `false` |
|
||||
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` |
|
||||
| lock-scroll | Whether to lock background scroll | *boolean* | `true` |
|
||||
| before-close | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: Function) => void | - |
|
||||
| transition `v2.2.6` | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - |
|
||||
| get-container | Return the mount node for Dialog | *string \| () => Element* | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user