EventBindingRow
Defined in: eventBinding.ts:50
One authored wire. event is an open string (the widget vocabulary lives in
UIEventType, but any emitted name works); action/guard are
aiRegistry names; arg is the action’s per-reference argument, exactly as
.esfsm/.esbt carry it.
Properties
Section titled “Properties”action
Section titled “action”action:
string
Defined in: eventBinding.ts:60
Registered action name (aiRegistry), e.g. 'ui.setPage'.
optionalarg?:string
Defined in: eventBinding.ts:66
The action’s argument in canonical string form, e.g. 'tabs:settings'.
Rows authored before the action declared its parameters keep this and
still run — the registry projects between the two forms.
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: eventBinding.ts:77
Authoring toggle — an unchecked row stays in the data but never fires.
event:
string
Defined in: eventBinding.ts:52
Event type to listen for on this entity, e.g. 'click'.
guard?
Section titled “guard?”
optionalguard?:string
Defined in: eventBinding.ts:73
Registered condition name that must pass for the row to run.
optionalonce?:boolean
Defined in: eventBinding.ts:75
Run at most once, then stay inert until the scene reloads.
params?
Section titled “params?”
optionalparams?:Record<string,AiParamValue>
Defined in: eventBinding.ts:71
The action’s declared parameters by name, e.g. {controller: 'tabs', page: 'settings'}. Present when the action declares parameters; wins over arg.
target?
Section titled “target?”
optionaltarget?:string
Defined in: eventBinding.ts:58
Name of the entity the action runs on. Empty/omitted = the entity that carries the binding. Resolution is nearest-first, so a name inside a prefab instance finds that instance’s copy.