Interface: EventHandle
API / @xmachines/play-dom / EventHandle
Defined in: packages/play-dom/src/json-render/types.ts:201
Handle returned by ComponentContext.on(eventName).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bound | boolean | true if an on binding exists for this event name; false otherwise. | packages/play-dom/src/json-render/types.ts:209 |
emit | () => void | Fire the bound action, resolving params from the current state store. | packages/play-dom/src/json-render/types.ts:203 |
shouldPreventDefault | boolean | Whether any binding for this event has preventDefault: true. | packages/play-dom/src/json-render/types.ts:207 |