Class H5PEvent<TData>

Type Parameters

  • TData = unknown

Hierarchy-Diagram

UML class diagram of H5PEvent
Legend
icon for a class in the UML class diagram class
icon for a public property in the UML class diagram public property
icon for a public method in the UML class diagram public method

Hierarchy (view full)

Constructors

  • Type Parameters

    • TData = unknown

    Parameters

    • type: string
    • data: TData
    • Optional extras: {
          bubbles?: boolean;
          external?: boolean;
      }
      • Optional bubbles?: boolean
      • Optional external?: boolean

    Returns H5PEvent<TData>

Properties

data: TData
extras?: {
    bubbles?: boolean;
    external?: boolean;
}

Type declaration

  • Optional bubbles?: boolean
  • Optional external?: boolean
type: string

Methods

  • Get bubbling status

    Returns boolean

    true if bubbling false otherwise

  • Prevent this event from bubbling up to parent

    Returns void

  • Try to schedule an event for externalDispatcher

    Returns boolean

    true if external and not already scheduled, otherwise false