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

Method ngAfterViewInit

src/material/input/input.ts:362–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360 }
361
362 ngAfterViewInit() {
363 if (this._platform.isBrowser) {
364 this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {
365 this.autofilled = event.isAutofilled;
366 this.stateChanges.next();
367 });
368 }
369 }
370
371 ngOnChanges() {
372 this.stateChanges.next();

Callers

nothing calls this directly

Calls 2

monitorMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected