Class ViewRefAbstract

Hierarchy (View Summary)

Constructors

Accessors

Methods

  • 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 }