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

Method scrollActiveItemIntoView

src/aria/listbox/listbox.ts:204–206  ·  view source on GitHub ↗
(options: ScrollIntoViewOptions = {block: 'nearest'})

Source from the content-addressed store, hash-verified

202 }
203
204 scrollActiveItemIntoView(options: ScrollIntoViewOptions = {block: 'nearest'}) {
205 this._pattern.inputs.activeItem()?.element()?.scrollIntoView(options);
206 }
207
208 /** Navigates to the first item in the listbox. */
209 gotoFirst() {

Callers

nothing calls this directly

Calls 2

activeItemMethod · 0.80
elementMethod · 0.45

Tested by

no test coverage detected