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

Method ngOnChanges

src/material/slide-toggle/slide-toggle.ts:251–255  ·  view source on GitHub ↗
(changes: SimpleChanges<this>)

Source from the content-addressed store, hash-verified

249 }
250
251 ngOnChanges(changes: SimpleChanges<this>): void {
252 if (changes['required']) {
253 this._validatorOnChange();
254 }
255 }
256
257 ngOnDestroy() {
258 this._focusMonitor.stopMonitoring(this._elementRef);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected