Skip to main content

Interface: GeovisWorkspaceSidebarFilterBlock

Defined in: context/GeovisWorkspaceContext.ts:425

A headed block wrapping one filter control.

Properties​

collapsible?​

optional collapsible?: boolean

Defined in: context/GeovisWorkspaceContext.ts:438

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

The control rendered inside the block.


defaultOpen?​

optional defaultOpen?: boolean

Defined in: context/GeovisWorkspaceContext.ts:443

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

Iconify token rendered before the title.


id​

id: string

Defined in: context/GeovisWorkspaceContext.ts:427

Unique id of the block.


title​

title: string

Defined in: context/GeovisWorkspaceContext.ts:429

Heading shown on the block's header.