VTabs
Props
Name | Type | Description |
---|---|---|
aria-current | Enum:page step location date time true false | Indicates the element that represents the current item within a container or set of related elements. |
orientation | Enum:vertical horizontal | The orientation |
activeid | string | The id of the active tab |
activeindicator | boolean | Whether or not to show the active indicator |
connotation | Enum:accent cta | The connotation the tabs should have. |
gutters | Enum:none small | sets the initial preferred margin from predefined available options |
scrollable-panel | boolean | sets overflow to the tab-panel |
tabs-layout | Enum:align-start stretch | Controls the layout of the tabs. |
Events
Name | Event Type | Description |
---|---|---|
click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
focus | FocusEvent | Fires when the element receives focus. |
blur | FocusEvent | Fires when the element loses focus. |
keydown | KeyboardEvent | Fires when a key is pressed. |
keyup | KeyboardEvent | Fires when a key is released. |
input | Event | Fires when the value of an element has been changed. |
change | CustomEvent<HTMLElement> | Fires a custom 'change' event when a tab is clicked or during keyboard navigation |
Slots
Name | Description |
---|---|
default | Default slot. |
Methods
Name | Type | Description |
---|---|---|
adjust | (adjustment: number) => void | The adjust method for FASTTabs |