• 개요
@angular/router

destroyDetachedRouteHandle

함수
안정화v22.2부터

Destroys the component associated with a DetachedRouteHandle.

API

@paramhandleDetachedRouteHandle

The detached route handle to destroy.

@returnsvoid

설명

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.

상세 내용으로 이동