Skip to main content

Interface: GeovisWorkspaceSidebarChipsFilter

Defined in: context/GeovisWorkspaceContext.ts:241

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

Ids of the chips active on first render.


kind​

kind: "chips"

Defined in: context/GeovisWorkspaceContext.ts:242


optional menuId?: string

Defined in: context/GeovisWorkspaceContext.ts:252

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

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


options​

options: GeovisWorkspaceSidebarChipOption[]

Defined in: context/GeovisWorkspaceContext.ts:254

The selectable chips.