(readonly inputs: ToolbarInputs)
| 183 | } |
| 184 | |
| 185 | constructor(readonly inputs: ToolbarInputs) { |
| 186 | this.orientation = inputs.orientation; |
| 187 | this.softDisabled = inputs.softDisabled; |
| 188 | |
| 189 | this.focusManager = new ListFocus({ |
| 190 | ...inputs, |
| 191 | focusMode: () => 'roving', |
| 192 | }); |
| 193 | |
| 194 | this.navigationBehavior = new ListNavigation({ |
| 195 | ...inputs, |
| 196 | focusMode: () => 'roving', |
| 197 | focusManager: this.focusManager, |
| 198 | }); |
| 199 | } |
| 200 | |
| 201 | /** Handles keydown events for the toolbar. */ |
| 202 | onKeydown(event: KeyboardEvent) { |
nothing calls this directly
no outgoing calls
no test coverage detected