MCPcopy Create free account
hub / github.com/angular/angular / createBoundaryResetFn

Function createBoundaryResetFn

packages/core/src/render3/instructions/boundary.ts:213–215  ·  view source on GitHub ↗

* Creates a reset callback for an `LBoundary` outside `ɵɵboundaryUpdate` so that * `$reset` and `details.boundary.reset` do not share a closure context with * `nextContainer` or `embeddedLView`.

(boundary: LBoundary)

Source from the content-addressed store, hash-verified

211 * `nextContainer` or `embeddedLView`.
212 */
213function createBoundaryResetFn(boundary: LBoundary): () => void {
214 return () => boundary.reset();
215}

Callers 1

ɵɵboundaryUpdateFunction · 0.85

Calls 1

resetMethod · 0.65

Tested by

no test coverage detected