Skip to content

@modoki/engine / index / applyBindings

Function: applyBindings() ​

applyBindings(bindings, event, opts?): void

Run every binding registered for event.

⚠️ EVENT-HANDLER ONLY (F10): call this from a DOM event handler, never from a system tick / projection. kind:'call' routes through dispatchUIAction, which THROWS in dev on an unregistered action — fine out of a React handler (React isolates it) but it would abort the frame if invoked inside the pipeline.

Parameters ​

bindings ​

UIActionBinding[] | undefined

event ​

UIActionEvent

opts? ​

ApplyBindingsOptions = {}

Returns ​

void

Built with Modoki.