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

Method ngOnChanges

src/material/checkbox/checkbox.ts:253–257  ·  view source on GitHub ↗
(changes: SimpleChanges<this>)

Source from the content-addressed store, hash-verified

251 }
252
253 ngOnChanges(changes: SimpleChanges<this>) {
254 if (changes['required']) {
255 this._validatorChangeFn();
256 }
257 }
258
259 ngOnInit() {
260 this._signalFormField = this._injector.get(FORM_FIELD, undefined, {optional: true, self: true});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected