MCPcopy
hub / github.com/Splidejs/splide / scroll

Method scroll

src/js/components/Scroll/Scroll.ts:17–17  ·  view source on GitHub ↗
( position: number, duration?: number, snap?: boolean, callback?: AnyFunction )

Source from the content-addressed store, hash-verified

15 */
16export interface ScrollComponent extends BaseComponent {
17 scroll( position: number, duration?: number, snap?: boolean, callback?: AnyFunction ): void;
18 cancel(): void;
19}
20

Callers 3

startFunction · 0.65
moveFunction · 0.65
general.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected