yera.runtime.handlers.tree_selector.htmx

Render tree selection controls in the browser input composer.

Symbols

class HTMXTreeSelectorHandler — Render expandable branches and selectable leaves in the input composer.

HTMXTreeSelectorHandler

Inherits: BaseHTMXHandler

Render expandable branches and selectable leaves in the input composer.

The generated controls expose selection limits to the browser script, keep the serialized leaf values in the form payload, and add a form-validation bypass when explicit cancellation is configured.

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.