API reference
Preparing search index…

Native Rml::EventListener supporting multiple dispatcher attachments.

Pass the same listener to Element.addEventListener/removeEventListener. Attach/detach hooks run once per actual native registration at the outer boundary, using copied identities so destruction never exposes dying elements. Detached element/callback cycles are collectible. Shutdown invalidates every listener. Manual hook methods deliver notifications; actual registration always uses Element's dispatcher operations.

Source & inheritance
Member directory5

Constructors

Methods

Constructors

Methods

  • Deliver the native OnAttach notification without registering an event.

    Parameters

    element

    Live element whose identity is copied.

    Returns

    void
    Source & inheritance
  • Deliver the native OnDetach notification without unregistering an event.

    Parameters

    element

    Live element whose identity is copied.

    Returns

    void
    Source & inheritance
  • Invoke native processing on a live event without dispatching it.

    Parameters

    event

    Live owned event or active dispatch lease.

    Returns

    void

    The callback receives a fresh expiring lease. Releasing or transferring the source event, or recursively processing it, is rejected while active.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0