MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / scrollToPosition

Method scrollToPosition

lib/components/Grid/types.ts:559–559  ·  view source on GitHub ↗

* Scroll to the specified offset(s); an omitted offset is left unchanged. * Offsets are clamped to the scrollable range. * Calling this method with the current offsets does nothing. * * If the `Grid` has a `scrollElement`, `scrollTop` scrolls the scroll element (e.g. the window) instead

(params: ScrollPosition)

Source from the content-addressed store, hash-verified

557 * (to the position at which the `Grid` is scrolled by `scrollTop`).
558 */
559 scrollToPosition(params: ScrollPosition): void;
560}

Callers 1

Grid.test.tsxFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected