(readonly inputs: TreeInputs<T, V>)
| 94 | private readonly _wrap = signal(true); |
| 95 | |
| 96 | constructor(readonly inputs: TreeInputs<T, V>) { |
| 97 | this.focusBehavior = new TreeListFocus<T, V>(inputs); |
| 98 | this.selectionBehavior = new ListSelection<T, V>({...inputs, focusManager: this.focusBehavior}); |
| 99 | this.typeaheadBehavior = new ListTypeahead<T>({...inputs, focusManager: this.focusBehavior}); |
| 100 | this.expansionBehavior = new ListExpansion(inputs); |
| 101 | this.navigationBehavior = new ListNavigation<T>({ |
| 102 | ...inputs, |
| 103 | focusManager: this.focusBehavior, |
| 104 | wrap: computed(() => this._wrap() && this.inputs.wrap()), |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | /** Returns the tab index for the given item. */ |
| 109 | getItemTabindex(item: T) { |
nothing calls this directly
no test coverage detected