detachFromViewport Method

Invoked when this view, previously attached to the specified Viewport via attachToViewport, is no longer the view displayed by that Viewport. This method is invoked automatically by the viewport - there is generally no reason for applications to invoke it directly.

detachFromViewport(): void

@note If you override this method you must call super.detachFromViewport.

@throws Error if the view is not attached to any Viewport.

Returns - void

Defined in

Last Updated: 28 October, 2024