MCPcopy Index your code
hub / github.com/angular/angular / onDestroy

Method onDestroy

packages/core/src/render3/view_ref.ts:128–130  ·  view source on GitHub ↗
(callback: Function)

Source from the content-addressed store, hash-verified

126 }
127
128 onDestroy(callback: Function) {
129 storeLViewOnDestroy(this._lView, callback as () => void);
130 }
131
132 /**
133 * Marks a view and all of its ancestors dirty.

Callers

nothing calls this directly

Calls 1

storeLViewOnDestroyFunction · 0.90

Tested by

no test coverage detected