mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs: update version badge (#22664)
This commit is contained in:
@@ -63,7 +63,7 @@ color-picker-panel/disabled
|
||||
| show-alpha | whether to display the alpha slider | ^[boolean] | false |
|
||||
| color-format | color format of v-model | ^[enum]`'hsl' \| 'hsv' \| 'hex' \| 'rgb' \| 'hex' (when show-alpha is false) \| 'rgb' (when show-alpha is true)` | — |
|
||||
| predefine | predefined color options | ^[object]`string[]` | — |
|
||||
| validate-event ^(2.11.6) | whether to trigger form validation | ^[boolean] | true |
|
||||
| validate-event ^(2.11.7) | whether to trigger form validation | ^[boolean] | true |
|
||||
|
||||
### Exposes
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ drawer/nested-drawer
|
||||
|
||||
Setting `modal` to `false` will hide modal (overlay) of drawer.
|
||||
|
||||
Starting from version ^(2.11.6), `modal-penetrable` attribute is added, which can be penetrable.
|
||||
Starting from version ^(2.11.7), `modal-penetrable` attribute is added, which can be penetrable.
|
||||
|
||||
:::demo
|
||||
|
||||
@@ -114,7 +114,7 @@ Drawer provides an API called `destroy-on-close`, which is a flag variable that
|
||||
| close-delay | Time(milliseconds) before close | ^[number] | 0 |
|
||||
| destroy-on-close | Indicates whether children should be destroyed after Drawer closed | ^[boolean] | false |
|
||||
| modal | Should show shadowing layer | ^[boolean] | true |
|
||||
| modal-penetrable ^(2.11.6) | whether the mask is penetrable. The modal attribute must be `false`. | ^[boolean] | false |
|
||||
| modal-penetrable ^(2.11.7) | whether the mask is penetrable. The modal attribute must be `false`. | ^[boolean] | false |
|
||||
| direction | Drawer's opening direction | ^[enum]`'rtl' \| 'ltr' \| 'ttb' \| 'btt'` | rtl |
|
||||
| resizable ^(2.11.0) | enable resizable feature for Drawer | ^[boolean] | false |
|
||||
| show-close | Should show close button at the top right of Drawer | ^[boolean] | true |
|
||||
|
||||
@@ -275,7 +275,7 @@ select-v2/custom-width
|
||||
| item-height | The height of the dropdown item | ^[number] | 34 |
|
||||
| scrollbar-always-on | Controls whether the scrollbar is always displayed | ^[boolean] | false |
|
||||
| remote | whether search data from server | ^[boolean] | false |
|
||||
| debounce ^(2.11.6) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| debounce ^(2.11.7) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| remote-method | function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| validate-event | whether to trigger form validation | ^[boolean] | true |
|
||||
| offset ^(2.8.8) | offset of the dropdown | ^[number] | 12 |
|
||||
|
||||
@@ -223,7 +223,7 @@ select/custom-label
|
||||
| allow-create | whether creating new items is allowed. To use this, `filterable` must be true | ^[boolean] | false |
|
||||
| filter-method | custom filter method, the first parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| remote | whether options are loaded from server | ^[boolean] | false |
|
||||
| debounce ^(2.11.6) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| debounce ^(2.11.7) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| remote-method | function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| remote-show-suffix | in remote search method show suffix icon | ^[boolean] | false |
|
||||
| loading | whether Select is loading data from server | ^[boolean] | false |
|
||||
|
||||
@@ -97,7 +97,7 @@ tabs/customized-trigger
|
||||
| tab-position | position of tabs | ^[enum]`'top' \| 'right' \| 'bottom' \| 'left'` | top |
|
||||
| stretch | whether width of tab automatically fits its container | ^[boolean] | false |
|
||||
| before-leave | hook function before switching tab. If `false` is returned or a `Promise` is returned and then is rejected, switching will be prevented | ^[Function]`(activeName: TabPaneName, oldActiveName: TabPaneName) => Awaitable<void \| boolean>` | () => true |
|
||||
| tabindex ^(2.11.6) | tabs tabindex | ^[string] / ^[number] | 0 |
|
||||
| tabindex ^(2.11.7) | tabs tabindex | ^[string] / ^[number] | 0 |
|
||||
|
||||
### Tabs Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user