Sidebar DSL
Sidebar DSL
Section titled “Sidebar DSL”Reference
DaisyCore sidebars are keyed so partial refreshes and diffing stay explicit instead of implicit.
DaisySidebar object Immutable sidebar definition.
DaisySidebarSession object Per-viewer runtime sidebar session.
title string Sets the sidebar title with String, Component, or renderer overloads.
line object Adds a keyed line renderer to the sidebar.
lineIf object Adds a keyed line only when the supplied visibility condition passes.
invalidate object Refreshes one or more keyed lines without a full sidebar rebuild.
invalidateAll object Triggers a full keyed refresh cycle for the current session.
refreshNow object Immediately recomputes and sends the current sidebar state.