Documentation
    Preparing search index...

    Interface NodeEventMap

    Events every node emits.

    Deliberately minimal — this packet owns only the structural pair. The map is an interface precisely so it is a widening point: later packets add their keys here (or, for out-of-package events, by declaration merging), and every Node subclass inherits the widened map because plan D1 fixes the base class as EventEmitter<NodeEventMap> with no generic parameter of its own. A subclass that needs private event types therefore adds them to this map rather than re-parameterizing the emitter.

    Index

    Fired on a node after it has been attached to a new parent.

    This node lost that focus (§72, §75). Emitter only.

    "capture:click": ScenePointerEvent

    Capture-phase click; fires root-first, before the target.

    "capture:keydown": SceneKeyEvent

    Capture-phase keydown; fires root-first, before the target.

    "capture:keyup": SceneKeyEvent

    Capture-phase keyup; fires root-first, before the target.

    "capture:pointercancel": ScenePointerEvent

    Capture-phase pointercancel; fires root-first, before the target.

    "capture:pointerdown": ScenePointerEvent

    Capture-phase pointerdown; fires root-first, before the target.

    "capture:pointermove": ScenePointerEvent

    Capture-phase pointermove; fires root-first, before the target.

    "capture:pointerup": ScenePointerEvent

    Capture-phase pointerup; fires root-first, before the target.

    Press and release on the same node without a drag. Capture, target, bubble.

    This node took the focus of its scene root (§72, §75). Emitter only.

    keydown: SceneKeyEvent

    Key pressed (or auto-repeated). Capture, target, bubble.

    Key released. Capture, target, bubble.

    pointercancel: ScenePointerEvent

    The system took the pointer away mid-gesture; no click follows. Capture, target, bubble.

    pointerdown: ScenePointerEvent

    Pointer pressed. Capture, target, bubble.

    pointerenter: ScenePointerEvent

    Pointer entered this node. Target only — no capture, no bubble.

    pointerleave: ScenePointerEvent

    Pointer left this node. Target only — no capture, no bubble.

    pointermove: ScenePointerEvent

    Pointer moved. Capture, target, bubble.

    Pointer released. Capture, target, bubble.

    Fired on a node after it has been detached from its parent.

    A control was activated — a click, or an explicit activate(). Emitter only.

    uistatechange: WidgetStateChangeEvent

    Hover, press, focus, or disabled state changed. Emitter only.

    uivaluechange: WidgetValueChangeEvent

    A control's numeric value changed (slider, progress). Emitter only.