MCPcopy Create free account
hub / github.com/angular/components / ngDoCheck

Method ngDoCheck

src/material/sidenav/drawer.ts:971–977  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

969 }
970
971 ngDoCheck() {
972 // If users opted into autosizing, do a check every change detection cycle.
973 if (this._autosize && this._isPushed()) {
974 // Run outside the NgZone, otherwise the debouncer will throw us into an infinite loop.
975 this._ngZone.runOutsideAngular(() => this._doCheckSubject.next());
976 }
977 }
978
979 /**
980 * Subscribes to drawer events in order to set a class on the main container element when the

Callers

nothing calls this directly

Calls 2

_isPushedMethod · 0.95
nextMethod · 0.45

Tested by

no test coverage detected