Class EmbeddedViewRefImpl<C>

Type Parameters

  • C extends object

Hierarchy (View Summary)

Constructors

Accessors

  • get destroyed(): boolean
  • Reports whether this view has been destroyed.

    Returns boolean

    True after the destroy() method has been called, false otherwise.

Methods

  • A lifecycle hook that provides additional developer-defined cleanup functionality for views.

    Parameters

    • callback: () => void

      A handler function that cleans up developer-defined data associated with a view. Called when the destroy() method is invoked.

    Returns { unsubscribe(): void }