Skip to main content

Interface: GeovisWorkspaceSidebarEnabledWhen

Defined in: context/GeovisWorkspaceContext.ts:397

Gates a section on another menu's selection: the section stays interactive only while that menu's value is one of values.

The case this exists for: a timeline only means something for variations backed by data that carries a time dimension. Gating the section — rather than omitting it from the config — keeps the tab bar's layout stable, so the control reads as visible-but-unavailable instead of appearing and vanishing as the user switches variations.

Properties

menuId: string

Defined in: context/GeovisWorkspaceContext.ts:399

Menu whose selected value decides the gate (selection[menuId]).


values

values: string[]

Defined in: context/GeovisWorkspaceContext.ts:401

Values that enable the section; every other value disables it.