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

Method onFocusIn

src/aria/private/tabs/tabs.ts:271–277  ·  view source on GitHub ↗

Handles focusin events for the tablist.

(event?: FocusEvent)

Source from the content-addressed store, hash-verified

269
270 /** Handles focusin events for the tablist. */
271 onFocusIn(event?: FocusEvent) {
272 this.hasBeenInteracted.set(true);
273
274 if (event) {
275 this.focusBehavior.sync(this._getItem(event));
276 }
277 }
278
279 /** Opens the given tab or the current active tab. */
280 open(tab?: TabPattern): boolean;

Callers 1

tabs.spec.tsFile · 0.45

Calls 3

_getItemMethod · 0.95
setMethod · 0.80
syncMethod · 0.45

Tested by

no test coverage detected