Skip to content

@modoki/engine / index / UIActionDef

Interface: UIActionDef

A registered action: a handler plus an optional typed-argument schema. The bare-function form is shorthand for { handler } (no declared params).

Actions

handler

handler: UIActionHandler


params?

optional params?: Record<string, FieldHint>

Editor-facing schema for this action's arguments — drives typed widgets in the Inspector's binding editor. Omit for actions that take no authored args.

Built with Modoki.