Skip to main content

Interface: GeovisWorkspaceFlatMenu

Defined in: context/GeovisWorkspaceContext.ts:36

The default menu shape: a titled group whose items stack vertically in the left sidebar. items and groups are mutually exclusive — a flat menu never carries groups.

Extends

  • GeovisWorkspaceMenuBase

Properties

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?

optional groups?: undefined

Defined in: context/GeovisWorkspaceContext.ts:41


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

items: GeovisWorkspaceMenuItem[]

Defined in: context/GeovisWorkspaceContext.ts:40

Selectable items within the group.


title

title: string

Defined in: context/GeovisWorkspaceContext.ts:38

Title displayed above the group's items.