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

Method isFocused

src/material/input/testing/input-harness.ts:117–119  ·  view source on GitHub ↗

Whether the input is focused.

()

Source from the content-addressed store, hash-verified

115
116 /** Whether the input is focused. */
117 async isFocused(): Promise<boolean> {
118 return (await this.host()).isFocused();
119 }
120
121 /**
122 * Sets the value of the input. The value will be set by simulating

Callers

nothing calls this directly

Calls 1

isFocusedMethod · 0.65

Tested by

no test coverage detected