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

Method _applyChanges

packages/common/src/directives/ng_style.ts:107–111  ·  view source on GitHub ↗
(changes: KeyValueChanges<string, string | number>)

Source from the content-addressed store, hash-verified

105 }
106
107 private _applyChanges(changes: KeyValueChanges<string, string | number>): void {
108 changes.forEachRemovedItem((record) => this._setStyle(record.key, null));
109 changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
110 changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
111 }
112}

Callers 1

ngDoCheckMethod · 0.95

Calls 4

_setStyleMethod · 0.95
forEachRemovedItemMethod · 0.65
forEachAddedItemMethod · 0.65
forEachChangedItemMethod · 0.65

Tested by

no test coverage detected