MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/aria/private/toolbar/toolbar.ts:185–199  ·  view source on GitHub ↗
(readonly inputs: ToolbarInputs)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected