Skip to content

@modoki/engine / index / dispatchUIAction

Function: dispatchUIAction()

dispatchUIAction(name, opts?): void

Dispatch a named UI action.

⚠️ EVENT-HANDLER ONLY (F10): invoke this (and applyBindings, which calls it) from a DOM event handler, never from a system tick / projection. On a missing handler it THROWS in dev — harmless out of a React event handler (React isolates the throw), but it would abort the whole frame if reached inside the pipeline.

Parameters

name

string

opts?

DispatchOptions

Returns

void

Built with Modoki.