Skip to main content

Interface: GeovisWorkspaceSidebarChipsFilter

Defined in: context/GeovisWorkspaceContext.ts:236

A chips filter: a wrapping row of toggle chips with a "clear" action. Visual-only in the preview — the selection is held locally.

Properties

defaultSelected?

optional defaultSelected?: string[]

Defined in: context/GeovisWorkspaceContext.ts:253

Ids of the chips active on first render.


kind

kind: "chips"

Defined in: context/GeovisWorkspaceContext.ts:237


optional menuId?: string

Defined in: context/GeovisWorkspaceContext.ts:247

Keys the shared selection this filter drives, as the active ids joined by commas ('ativo,reduzido') — '' while nothing is selected. Omit to keep the selection local (visual-only).

A delimited string rather than an array because GeovisWorkspaceSelection holds one string per key, and because that is already the shape a permalink needs.


multiple?

optional multiple?: boolean

Defined in: context/GeovisWorkspaceContext.ts:251

Whether more than one chip can be active at once. Defaults to true.


options

options: GeovisWorkspaceSidebarChipOption[]

Defined in: context/GeovisWorkspaceContext.ts:249

The selectable chips.