MCPcopy
hub / github.com/angular/components / setDefaultStateEffect

Method setDefaultStateEffect

src/aria/private/grid/grid.ts:272–275  ·  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

270
271 /** Sets the default active state of the grid before receiving focus the first time. */
272 setDefaultStateEffect(): void {
273 if (this.hasBeenInteracted()) return;
274 this.gridBehavior.setDefaultState();
275 }
276
277 /** Resets the active state of the grid if it is empty or stale. */
278 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