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

Method focus

src/cdk/testing/test-element.ts:109–109  ·  view source on GitHub ↗

Focus the element.

()

Source from the content-addressed store, hash-verified

107
108 /** Focus the element. */
109 focus(): Promise<void>;
110
111 /** Get the computed value of the given CSS property for the element. */
112 getCssValue(property: string): Promise<string>;

Callers 15

_cleanUpAfterResizeFunction · 0.65
moveFocusHorizontallyMethod · 0.65
moveFocusVerticallyMethod · 0.65
focusEditCellFunction · 0.65
constructorMethod · 0.65
onCommitMethod · 0.65
onSearchEscapeMethod · 0.65
constructorMethod · 0.65
onSearchEscapeMethod · 0.65
constructorMethod · 0.65

Implementers 3

ProtractorElementsrc/cdk/testing/protractor/protractor-
SeleniumWebDriverElementsrc/cdk/testing/selenium-webdriver/sel
UnitTestElementsrc/cdk/testing/testbed/unit-test-elem

Calls

no outgoing calls

Tested by 4

focusEditCellFunction · 0.52
tabIntoGridFunction · 0.52
setupMenuFunction · 0.52
focusMenuBarFunction · 0.52