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

Method focus

src/aria/private/grid/widget.ts:152–154  ·  view source on GitHub ↗

Focuses the widget's host element.

()

Source from the content-addressed store, hash-verified

150
151 /** Focuses the widget's host element. */
152 focus(): void {
153 this.widgetHost().focus();
154 }
155
156 /** Side-effect executed whenever the widget activates. Runs in the write phase. */
157 activationEffect(): void {

Callers 2

activationEffectMethod · 0.95
deactivationEffectMethod · 0.95

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected