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

Method ngDoCheck

packages/common/src/directives/ng_style.ts:82–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 ngDoCheck() {
83 if (this._differ) {
84 const changes = this._differ.diff(this._ngStyle!);
85 if (changes) {
86 this._applyChanges(changes);
87 }
88 }
89 }
90
91 private _setStyle(nameAndUnit: string, value: string | number | null | undefined): void {
92 const [name, unit] = nameAndUnit.split('.');

Callers

nothing calls this directly

Calls 2

_applyChangesMethod · 0.95
diffMethod · 0.65

Tested by

no test coverage detected