Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_cleanUpAfterResize
Function · 0.65
moveFocusHorizontally
Method · 0.65
moveFocusVertically
Method · 0.65
popover-edit.spec.ts
File · 0.65
focusEditCell
Function · 0.65
_maybeReturnFocusToCell
Method · 0.65
constructor
Method · 0.65
onCommit
Method · 0.65
onSearchEscape
Method · 0.65
constructor
Method · 0.65
onSearchEscape
Method · 0.65
constructor
Method · 0.65
Implementers
3
ProtractorElement
src/cdk/testing/protractor/protractor-
SeleniumWebDriverElement
src/cdk/testing/selenium-webdriver/sel
UnitTestElement
src/cdk/testing/testbed/unit-test-elem
Calls
no outgoing calls
Tested by
4
focusEditCell
Function · 0.52
tabIntoGrid
Function · 0.52
setupMenu
Function · 0.52
focusMenuBar
Function · 0.52