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

Method focus

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

Focuses the widget's host element.

()

Source from the content-addressed store, hash-verified

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

Callers 2

activationEffectMethod · 0.95
deactivationEffectMethod · 0.95

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected