Class H5PEvent<TData>

Type Parameters

  • TData = unknown

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • TData = unknown

    Parameters

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

    Returns H5PEvent<TData>

Properties

data: TData
extras?: { bubbles?: boolean; 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