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

Function isCreationMode

packages/core/src/render3/util/view_utils.ts:161–163  ·  view source on GitHub ↗
(view: LView)

Source from the content-addressed store, hash-verified

159
160/** Checks whether a given view is in creation mode */
161export function isCreationMode(view: LView): boolean {
162 return (view[FLAGS] & LViewFlags.CreationMode) === LViewFlags.CreationMode;
163}
164
165/**
166 * Returns a boolean for whether the view is attached to the change detection tree.

Callers 5

renderComponentFunction · 0.90
renderViewFunction · 0.90
ɵɵqueryRefreshFunction · 0.90
refreshViewFunction · 0.90
detectChangesInComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…