Skip to main content

Interface: GeovisWorkspaceSidebarVariation

Defined in: context/GeovisWorkspaceContext.ts:113

A single selectable variation inside a variation group.

Properties​

badge?​

optional badge?: string

Defined in: context/GeovisWorkspaceContext.ts:132

Short tag rendered at the row's end, e.g. '3D' on the variations a choice setting can extrude. Names a capability the row has, so the reader finds where an option elsewhere in the sidebar becomes available.


description?​

optional description?: string

Defined in: context/GeovisWorkspaceContext.ts:126

Hover text for the row, rendered as the native title. Omit it and the row carries no title at all — a tooltip repeating the visible label would spend a hover delay to say what is already on screen. Use it for what the label cannot hold: what the variation measures, or the unit it is read in.


icon?​

optional icon?: string

Defined in: context/GeovisWorkspaceContext.ts:119

Iconify token rendered before the label, e.g. "lucide:tractor".


label​

label: string

Defined in: context/GeovisWorkspaceContext.ts:117

Text shown for the variation.


value​

value: string

Defined in: context/GeovisWorkspaceContext.ts:115

Value reported through selection[menuId] when this variation is chosen.