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

Method focus

src/material/timepicker/timepicker-input.ts:253–255  ·  view source on GitHub ↗

Focuses the input.

()

Source from the content-addressed store, hash-verified

251
252 /** Focuses the input. */
253 focus(): void {
254 this._elementRef.nativeElement.focus();
255 }
256
257 ngOnDestroy(): void {
258 this._cleanupClick();

Callers

nothing calls this directly

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected