Mixins / foldkit-mixins-ui

NavPanel

interface · packages/mixins-ui/src/nav.ts:227

interface NavPanel {
  readonly id: string
  readonly label: string
  readonly groups: ReadonlyArray<NavPanelGroup>
  readonly footer?: Html | undefined
  readonly href?: undefined
}

A trigger and the panel it shows.

Members

NavPanel.id

property · packages/mixins-ui/src/nav.ts:229

readonly id: string

Names the panel in the Model's open; unique among the entries.

NavPanel.label

property · packages/mixins-ui/src/nav.ts:230

readonly label: string

NavPanel.groups

property · packages/mixins-ui/src/nav.ts:231

readonly groups: ReadonlyArray<NavPanelGroup>

property · packages/mixins-ui/src/nav.ts:233

readonly footer?: Html | undefined

Drawn in the panel after the groups, in the panelFooter slot: not a link, so no key stops on it.

NavPanel.href

property · packages/mixins-ui/src/nav.ts:234

readonly href?: undefined