Class EmbeddedViewRef<C>Abstract

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

  • remove the root nodes from the view, but keep reference to them.

    Detaches a view from this container without destroying it. Use along with after()/before() to move a view within the current container.

    Returns void

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

    Parameters

    • callback: Function

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

    Returns { unsubscribe(): void }