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

Method ngOnChanges

src/material/tabs/tab.ts:144–148  ·  view source on GitHub ↗
(changes: SimpleChanges<this>)

Source from the content-addressed store, hash-verified

142 }
143
144 ngOnChanges(changes: SimpleChanges<this>): void {
145 if (Object.hasOwn(changes, 'textLabel') || Object.hasOwn(changes, 'disabled')) {
146 this._stateChanges.next();
147 }
148 }
149
150 ngOnDestroy(): void {
151 this._stateChanges.complete();

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected