MCPcopy
hub / github.com/angular/components / scrollActiveCellIntoView

Method scrollActiveCellIntoView

src/aria/grid/grid.ts:177–179  ·  view source on GitHub ↗

Scrolls the active cell into view.

(options: ScrollIntoViewOptions = {block: 'nearest'})

Source from the content-addressed store, hash-verified

175
176 /** Scrolls the active cell into view. */
177 scrollActiveCellIntoView(options: ScrollIntoViewOptions = {block: 'nearest'}) {
178 this._pattern.activeCell()?.element().scrollIntoView(options);
179 }
180
181 /** Gets the cell pattern for a given element. */
182 private _getCell(element: Element | null | undefined): GridCellPattern | undefined {

Callers 1

constructorMethod · 0.80

Calls 1

elementMethod · 0.45

Tested by

no test coverage detected