yera.runtime.handlers.tree_selector.htmx

HTMX tree selector handler.

Symbols

class HTMXTreeSelectorHandler — Render a nested multi-select tree in the shared input composer.

HTMXTreeSelectorHandler

Inherits: BaseHTMXHandler

Render a nested multi-select tree in the shared input composer.

Methods

push — Render the tree selection request.

HTMXTreeSelectorHandler.push

push(
    event: OutputEvent,
) → None

Render the tree selection request.

Parameters

event
type: OutputEvent

An output event carrying TreeSelectorData.

Raises

TypeError

If the event data is not TreeSelectorData.