Skip to main content

Interface: GeovisWorkspaceSidebarFilterBlock

Defined in: context/GeovisWorkspaceContext.ts:325

A headed block wrapping one filter control.

Properties

collapsible?

optional collapsible?: boolean

Defined in: context/GeovisWorkspaceContext.ts:338

Turns the header into a toggle for the block's body. Defaults to false: a block is a labelled control, and the chevron reads as an affordance the sidebar rarely needs — the tab bar is what puts controls out of the way. Opt in for a block long enough that its neighbours are pushed off screen.


control

control: GeovisWorkspaceSidebarFilterControl

Defined in: context/GeovisWorkspaceContext.ts:345

The control rendered inside the block.


defaultOpen?

optional defaultOpen?: boolean

Defined in: context/GeovisWorkspaceContext.ts:343

Whether the block starts expanded. Defaults to true, and is read only when collapsible is set — a fixed header has nothing to open.


icon?

optional icon?: string

Defined in: context/GeovisWorkspaceContext.ts:331

Iconify token rendered before the title.


id

id: string

Defined in: context/GeovisWorkspaceContext.ts:327

Unique id of the block.


title

title: string

Defined in: context/GeovisWorkspaceContext.ts:329

Heading shown on the block's header.