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

Method ngAfterViewInit

src/material/toolbar/toolbar.ts:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 @ContentChildren(MatToolbarRow, {descendants: true}) _toolbarRows!: QueryList<MatToolbarRow>;
61
62 ngAfterViewInit() {
63 if (this._platform.isBrowser) {
64 this._checkToolbarMixedModes();
65 this._toolbarRows.changes.subscribe(() => this._checkToolbarMixedModes());
66 }
67 }
68
69 /**
70 * Throws an exception when developers are attempting to combine the different toolbar row modes.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected