We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c601fa commit 1150865Copy full SHA for 1150865
src/aria/grid/grid.ts
@@ -86,6 +86,12 @@ export class Grid {
86
/** Whether enable range selections (with modifier keys or dragging). */
87
readonly enableRangeSelection = input(false, {transform: booleanAttribute});
88
89
+ /** Whether the user is currently dragging to select a range of cells. */
90
+ readonly dragging = computed(() => this._pattern.dragging());
91
+
92
+ /** Whether the focus is in the grid. */
93
+ readonly isFocused = computed(() => this._pattern.isFocused());
94
95
/** The UI pattern for the grid. */
96
readonly _pattern = new GridPattern({
97
...this,
0 commit comments