Skip to main content

Interface: GeovisWorkspaceGroupedMenu

Defined in: context/GeovisWorkspaceContext.ts:51

A grouped menu: its items are split across carousel groups rendered as a row of chips at the top of the sidebar, with only the open group's items shown below. The selection stays a single value shared across every group — the carousel only chooses which items are visible, never what is selected. items and groups are mutually exclusive.

Extends

  • GeovisWorkspaceMenuBase

Properties

defaultGroupId?

optional defaultGroupId?: string

Defined in: context/GeovisWorkspaceContext.ts:62

Id of the group that starts open. Defaults to the group containing defaultValue, falling back to the first group. Ignored when it matches no group.


defaultValue?

optional defaultValue?: string

Defined in: context/GeovisWorkspaceContext.ts:28

Value of the item selected by default in this menu.

Inherited from

GeovisWorkspaceMenuBase.defaultValue


groups

groups: GeovisWorkspaceMenuGroup[]

Defined in: context/GeovisWorkspaceContext.ts:55

The carousel groups; each becomes a chip.


id

id: string

Defined in: context/GeovisWorkspaceContext.ts:26

Unique identifier of the menu group; keys this menu's selection.

Inherited from

GeovisWorkspaceMenuBase.id


items?

optional items?: undefined

Defined in: context/GeovisWorkspaceContext.ts:56


title?

optional title?: string

Defined in: context/GeovisWorkspaceContext.ts:53

Optional heading rendered above the carousel chips.