Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventMapping

Interface which describes public API of a event mapping and which is not intended to be used outside EventDispatcher addEventListener return.

author

Jānis Radiņš

Hierarchy

  • EventMapping

Implemented by

Index

Properties

Methods

Properties

id

id: number

Unique id of a mapping.

returns

Methods

once

withGuards

  • Set event guards which could prevent event listener to be executed upon some circumstances known only to guards themselves.

    Parameters

    • Rest ...guards: EventGuard[]

      List of EventGuard callback methods that might prevent execution of listener.

    Returns EventMapping

    so we can call other methods of this class instantly from return value