Skip to content

Commit d948d1c

Browse files
committed
fix: rephrase jsdoc and add TODO
1 parent 94fbea5 commit d948d1c

File tree

1 file changed

+3
-1
lines changed
  • src/cdk-experimental/ui-patterns/tree

1 file changed

+3
-1
lines changed

src/cdk-experimental/ui-patterns/tree/tree.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class TreePattern<V> {
168168
/** The id of the current active item. */
169169
readonly activedescendant = computed(() => this.focusManager.getActiveDescendant());
170170

171-
/** Whether the tree is in multi selection mode. */
171+
/** Whether the tree is performing a range selection. */
172172
readonly inSelection = signal(false);
173173

174174
/** The direct children of the root (top-level tree items). */
@@ -378,6 +378,8 @@ export class TreePattern<V> {
378378
});
379379
}
380380

381+
// TODO(ok7sai): add `setDefaultState` method.
382+
381383
/** Handles keydown events on the tree. */
382384
onKeydown(event: KeyboardEvent) {
383385
if (!this.disabled()) {

0 commit comments

Comments
 (0)