API reference
Preparing search index…

registerEventType

  • Register a native event specification with Rml::RegisterEventType.

    Parameters

    type
    string

    Event name.

    interruptible
    boolean

    Whether listeners may stop propagation.

    bubbles
    boolean

    Whether ancestor bubble listeners execute.

    defaultActionPhase
    DefaultActionPhase = DefaultActionPhase.None

    Native default action phases; defaults to None.

    Returns

    number

    Native id; Invalid if the native registry has no remaining ids.

    Existing custom types retain their id and replace their flags. Built-in types retain their id and flags. Custom ids belong to this runtime lifetime. Dispatch options override only interruptible/bubbles, retaining these phases.

    Source & inheritance

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