• Overview
@angular/router

destroyDetachedRouteHandle

function
stable

Destroys the component associated with a DetachedRouteHandle.

API

destroyDetachedRouteHandle

void

Destroys the component associated with a DetachedRouteHandle.

This function should be used when a RouteReuseStrategy decides to drop a stored handle and wants to ensure that the component is destroyed.

@paramhandleDetachedRouteHandle

The detached route handle to destroy.

@returnsvoid

Description

Destroys the component associated with a DetachedRouteHandle.

This function should be used when a RouteReuseStrategy decides to drop a stored handle and wants to ensure that the component is destroyed.

Jump to details