Mixins / foldkit-mixins-ui

SidebarGroup

interface · packages/mixins-ui/src/sidebar.ts:127

interface SidebarGroup {
  readonly id: string
  readonly title?: string | undefined
  readonly collapsible?: boolean | undefined
  readonly rows: ReadonlyArray<SidebarRow>
}

Members

SidebarGroup.id

property · packages/mixins-ui/src/sidebar.ts:129

readonly id: string

Names the group in the Model's open, unique in the sidebar.

SidebarGroup.title

property · packages/mixins-ui/src/sidebar.ts:131

readonly title?: string | undefined

The group's heading; without one, its rows stand alone.

SidebarGroup.collapsible

property · packages/mixins-ui/src/sidebar.ts:133

readonly collapsible?: boolean | undefined

Whether the heading shows and hides the rows; default true where there is a heading.

SidebarGroup.rows

property · packages/mixins-ui/src/sidebar.ts:134

readonly rows: ReadonlyArray<SidebarRow>