MCPcopy
hub / github.com/angular/components / ngAfterViewInit

Method ngAfterViewInit

src/material/chips/chip.ts:276–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274 }
275
276 ngAfterViewInit() {
277 this._textElement = this._elementRef.nativeElement.querySelector('.mat-mdc-chip-action-label')!;
278
279 if (this._pendingFocus) {
280 this._pendingFocus = false;
281 this.focus();
282 }
283 }
284
285 ngAfterContentInit(): void {
286 // Since the styling depends on the presence of some

Callers

nothing calls this directly

Calls 1

focusMethod · 0.95

Tested by

no test coverage detected