SidebarGroup.id
property · packages/mixins-ui/src/sidebar.ts:113
readonly id: stringNames the group in the Model's open, unique in the sidebar.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/sidebar.ts:111
interface SidebarGroup<Message = never> {
readonly id: string
readonly title?: string | undefined
readonly collapsible?: boolean | undefined
readonly action?: SidebarAction<Message> | undefined
readonly rows: ReadonlyArray<SidebarRow<Message>>
}SidebarGroup.idproperty · packages/mixins-ui/src/sidebar.ts:113
readonly id: stringNames the group in the Model's open, unique in the sidebar.
SidebarGroup.titleproperty · packages/mixins-ui/src/sidebar.ts:115
readonly title?: string | undefinedThe group's heading; without one, its rows stand alone.
SidebarGroup.collapsibleproperty · packages/mixins-ui/src/sidebar.ts:117
readonly collapsible?: boolean | undefinedWhether the heading shows and hides the rows; default true where there is a heading.
SidebarGroup.actionproperty · packages/mixins-ui/src/sidebar.ts:119
readonly action?: SidebarAction<Message> | undefinedAt the heading's end, such as one that adds a row; drawn only with a title.
SidebarGroup.rowsproperty · packages/mixins-ui/src/sidebar.ts:120
readonly rows: ReadonlyArray<SidebarRow<Message>>