Skip to content

Commit ad77647

Browse files
committed
fixup! feat(cdk-experimental/ui-patterns): create grid navigation behavior
1 parent e5dc788 commit ad77647

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cdk-experimental/ui-patterns/behaviors/grid-navigation/grid-navigation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import {computed, signal, WritableSignal, Signal} from '@angular/core';
9+
import {computed, signal, WritableSignal} from '@angular/core';
1010
import {GridFocus} from '../grid-focus/grid-focus';
1111
import {GridNavigation, GridNavigationCell, GridNavigationInputs} from './grid-navigation';
1212

src/cdk-experimental/ui-patterns/behaviors/grid-navigation/grid-navigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export interface GridNavigationInputs<T extends GridNavigationCell> extends Grid
2222

2323
/** Controls navigation for a grid of items. */
2424
export class GridNavigation<T extends GridNavigationCell> {
25-
private rowcount = computed(() => this.inputs.gridFocus.rowCount());
26-
private colcount = computed(() => this.inputs.gridFocus.colCount());
25+
rowcount = computed(() => this.inputs.gridFocus.rowCount());
26+
colcount = computed(() => this.inputs.gridFocus.colCount());
2727

2828
constructor(readonly inputs: GridNavigationInputs<T>) {}
2929

0 commit comments

Comments
 (0)