You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add type="button" where the default tag is a button element to prevent form submission (#1324)
* fix(tabs): avoid performance warning in OSlotComponent
When the default slot for a VNode is a raw VNode instead of a function,
Vue complains about it in development mode.
* fix(tabs): specify button type (#1323)
* refactor: update imports
* refactor: add `attrs` binding to PlainButton
---------
Co-authored-by: mmoravek <marcel.moravek@yahoo.de>
| active | The active state of the menu item, use v-model:active to make it two-way binding | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
79
-
| animation | Transition name to apply on menu list | string | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> animation: "slide"<br>}</code> |
80
-
| disabled | Menu item will be disabled | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
81
-
| expanded | Menu item will be expanded | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
82
-
| hidden | Define whether the item is visible or not | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
83
-
| icon | Icon to be shown | string | - ||
84
-
| iconPack | Icon pack to use | string |`mdi`, `fa`, `fas and any other custom icon pack`| <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> iconPack: undefined<br>}</code> |
| submenuId | HTML element Id of the sub menu ol list element | string | - | <codestyle='white-space: nowrap; padding: 0;'>useId()</code> |
90
-
| tag | Menu item tag name | DynamicComponent | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> itemTag: "button"<br>}</code>|
91
-
| value | Item value (it will be used as v-model of wrapper component) - default is an uuid | unknown | - | <codestyle='white-space: nowrap; padding: 0;'></code> |
76
+
| Prop name | Description | Type | Values | Default |
| active | The active state of the menu item, use v-model:active to make it two-way binding | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
79
+
| animation | Transition name to apply on menu list | string | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> animation: "slide"<br>}</code> |
80
+
| disabled | Menu item will be disabled | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
81
+
| expanded | Menu item will be expanded | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
82
+
| hidden | Define whether the item is visible or not | boolean | - | <codestyle='white-space: nowrap; padding: 0;'>false</code> |
83
+
| icon | Icon to be shown | string | - ||
84
+
| iconPack | Icon pack to use | string |`mdi`, `fa`, `fas and any other custom icon pack`| <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> iconPack: undefined<br>}</code> |
| submenuId | HTML element Id of the sub menu ol list element | string | - | <codestyle='white-space: nowrap; padding: 0;'>useId()</code> |
90
+
| tag | Menu item tag name | DynamicComponent | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>menu: {<br> itemTag: PlainButton<br>}</code> |
91
+
| value | Item value (it will be used as v-model of wrapper component) - default is an uuid | unknown | - | <codestyle='white-space: nowrap; padding: 0;'></code> |
| buttonTag | Pagination button tag name | DynamicComponent | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>pagination: {<br> buttonTag: "button"<br>}</code>|
35
+
| buttonTag | Pagination button tag name | DynamicComponent | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>pagination: {<br> buttonTag: PlainButton<br>}</code> |
36
36
| current | Current page number, use v-model:current to make it two-way binding | number | - | <codestyle='white-space: nowrap; padding: 0;'>1</code> |
37
37
| iconNext | Icon to use for next button | string | - | <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>pagination: {<br> iconNext: "chevron-right"<br>}</code> |
38
38
| iconPack | Icon pack to use | string |`mdi`, `fa`, `fas and any other custom icon pack`| <div><small>From <b>config</b>:</small></div><codestyle='white-space: nowrap; padding: 0;'>pagination: {<br> iconPack: undefined<br>}</code> |
0 commit comments