An interface allows to register listeners for objects that emit events. If you have a custom class that emits events, you may want to consider using Evented with EventedSupport.

Hierarchy

Implements

Constructors

Methods

Constructors

Methods

  • Signals that the underlying data has changed.

    Returns void

  • An event indicating that this Controller is invalidated. This event fires when invalidate is called.

    Parameters

    • event: "Invalidated"
    • callback: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional context: any

    Returns Handle