Skip to main content

Interface: GeovisWorkspaceSidebarVariation

Defined in: context/GeovisWorkspaceContext.ts:113

A single selectable variation inside a variation group.

Properties​

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.