| Prop | Default | Type |
|---|---|---|
as | 'div' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
currentTabStopId | string | nullThe controlled value of the current stop item. Can be binded as | |
defaultCurrentTabStopId | stringThe value of the current stop item. Use when you do not need to control the state of the stop item. | |
dir | 'ltr' | 'rtl'The direction of navigation between items. | |
loop | false | booleanWhether keyboard navigation should loop around |
orientation | 'vertical' | 'horizontal'The orientation of the group. Mainly so arrow navigation is done accordingly (left & right vs. up & down) | |
preventScrollOnEntryFocus | false | booleanWhen |
| Emit | Payload |
|---|---|
entryFocus | [event: Event]Event handler called when container is being focused. Can be prevented. |
update:currentTabStopId | [value: string | null] |
| Methods | Type |
|---|---|
getItems | (includeDisabledItem?: boolean) => { ref: HTMLElement; value?: any; }[] |
