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

Method stickyCheckReducer

src/cdk/table/table.ts:1461–1466  ·  view source on GitHub ↗
(
      acc: boolean,
      d: CdkHeaderRowDef | CdkFooterRowDef | CdkColumnDef,
    )

Source from the content-addressed store, hash-verified

1459 */
1460 private _checkStickyStates() {
1461 const stickyCheckReducer = (
1462 acc: boolean,
1463 d: CdkHeaderRowDef | CdkFooterRowDef | CdkColumnDef,
1464 ) => {
1465 return acc || d.hasStickyChanged();
1466 };
1467
1468 // Note that the check needs to occur for every definition since it notifies the definition
1469 // that it can reset its dirty state. Using another operator like `some` may short-circuit

Callers

nothing calls this directly

Calls 1

hasStickyChangedMethod · 0.65

Tested by

no test coverage detected