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

Method setDefaultStateEffect

src/aria/private/tabs/tabs.ts:248–252  ·  view source on GitHub ↗

Sets the default active state of the tablist before receiving interaction for the first time.

()

Source from the content-addressed store, hash-verified

246
247 /** Sets the default active state of the tablist before receiving interaction for the first time. */
248 setDefaultStateEffect(): void {
249 if (this.hasBeenInteracted()) return;
250
251 this.setDefaultState();
252 }
253
254 /** Handles keydown events for the tablist. */
255 onKeydown(event: KeyboardEvent) {

Callers 1

tabs.spec.tsFile · 0.45

Calls 1

setDefaultStateMethod · 0.95

Tested by

no test coverage detected