Skip to content

Sidebar DSL

Reference

DaisyCore sidebars are keyed so partial refreshes and diffing stay explicit instead of implicit.

Immutable sidebar definition.

Required

Per-viewer runtime sidebar session.

Required

title string

Sets the sidebar title with String, Component, or renderer overloads.

Optional

line object

Adds a keyed line renderer to the sidebar.

Optional

lineIf object

Adds a keyed line only when the supplied visibility condition passes.

Optional

Refreshes one or more keyed lines without a full sidebar rebuild.

Optional

Triggers a full keyed refresh cycle for the current session.

Optional

Immediately recomputes and sends the current sidebar state.

Optional