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

Function onEnter

packages/core/src/zone/ng_zone.ts:532–538  ·  view source on GitHub ↗
(zone: NgZonePrivate)

Source from the content-addressed store, hash-verified

530}
531
532function onEnter(zone: NgZonePrivate) {
533 zone._nesting++;
534 if (zone.isStable) {
535 zone.isStable = false;
536 zone.onUnstable.emit(null);
537 }
538}
539
540function onLeave(zone: NgZonePrivate) {
541 zone._nesting--;

Callers 1

Calls 1

emitMethod · 0.65

Tested by

no test coverage detected