Skip to main content

Interface: GeovisWorkspaceSidebarVariation

Defined in: context/GeovisWorkspaceContext.ts:108

A single selectable variation inside a variation group.

Properties

description?

optional description?: string

Defined in: context/GeovisWorkspaceContext.ts:121

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:114

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


label

label: string

Defined in: context/GeovisWorkspaceContext.ts:112

Text shown for the variation.


value

value: string

Defined in: context/GeovisWorkspaceContext.ts:110

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