Mixins / foldkit-mixins-ui

ResolvedTabs

interface · packages/mixins-ui/src/tabs.ts:37

interface ResolvedTabs<Value extends string, Message> {
  readonly tablist: SlotAttributes<Message>
  readonly indicator: SlotAttributes<Message>
  readonly highlight: SlotAttributes<Message>
  readonly tabs: ReadonlyArray<ResolvedTab<Value, Message>>
  readonly activeIndex: number
}

Members

ResolvedTabs.tablist

property · packages/mixins-ui/src/tabs.ts:38

readonly tablist: SlotAttributes<Message>

ResolvedTabs.indicator

property · packages/mixins-ui/src/tabs.ts:40

readonly indicator: SlotAttributes<Message>

The marker under the chosen tab; drawn, the tabs' recipe reads it in place of each tab's own.

ResolvedTabs.highlight

property · packages/mixins-ui/src/tabs.ts:42

readonly highlight: SlotAttributes<Message>

The hover that follows the pointer between tabs.

ResolvedTabs.tabs

property · packages/mixins-ui/src/tabs.ts:43

readonly tabs: ReadonlyArray<ResolvedTab<Value, Message>>

ResolvedTabs.activeIndex

property · packages/mixins-ui/src/tabs.ts:44

readonly activeIndex: number