CaTabPanel
Display content by tab panel
SASS-path: ./styles/components/atoms/ca-tab-content.scss
Props
Name | Description | Type | Required | Default |
---|
index | Index of panel | Number | true | - |
panelCount | Total amount of panels | Number | true | - |
selectedTab | Selected panel by index | Number | false | 0 |
Slots
Name | Description | Default Slot Content |
---|
default | - | - |
Computed
Computed | Type | Description | From Store |
---|
panelId | String | panel-id for accessibility TODO: id needs to be unique. Will currently duplicate if several instances | No |
selected | Number | Case selected tab index is above panel count - fallback 0 | No |
isSelected | Boolean | If current tab is selected | No |
setAriaSelected | String | aria-selected for accessibility | No |