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

Method setDefaultStateEffect

src/aria/private/grid/grid.ts:273–276  ·  view source on GitHub ↗

Sets the default active state of the grid before receiving focus the first time.

()

Source from the content-addressed store, hash-verified

271
272 /** Sets the default active state of the grid before receiving focus the first time. */
273 setDefaultStateEffect(): void {
274 if (this.hasBeenInteracted()) return;
275 this.gridBehavior.setDefaultState();
276 }
277
278 /** Resets the active state of the grid if it is empty or stale. */
279 resetStateEffect(): void {

Callers 9

constructorMethod · 0.45
grid.spec.tsFile · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
grid.spec.tsFile · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45

Calls 1

setDefaultStateMethod · 0.45

Tested by

no test coverage detected