AnyLumino
API referencelayout

CommandPalette

Command palette for searchable actions grouped by category.

Functions

constructor__init__(commands=None, *, callbacks=None, width='100%', height=320) -> None
paramcommandsIterable[dict[str, Any]] | None
= None

Command definitions. Each command should include an id and label; optional keys such as category, caption, icon, icon_src, icon_size, or disabled are forwarded to the frontend. icon uses bundled workflow icon names.

paramcallbacksdict[str, ActionCallback] | None
= None

Callback map keyed by command id. A callback receives the activated command id. The map stays available as the callbacks attribute, and on_click or on_action register callbacks for every activation.

paramwidthint | float | str | None
= '100%'

Widget width.

paramheightint | float | str | None
= 320

Widget height.

Returns

None

On this page