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

Method ngAfterViewInit

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

Source from the content-addressed store, hash-verified

289 }
290
291 ngAfterViewInit() {
292 this._textElement = this._elementRef.nativeElement.querySelector('.mat-mdc-chip-action-label')!;
293
294 if (this._pendingFocus) {
295 this._pendingFocus = false;
296 this.focus();
297 }
298 }
299
300 ngAfterContentInit(): void {
301 // 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