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

Method scroll

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

Source from the content-addressed store, hash-verified

15export interface ControllerComponent extends BaseComponent {
16 go( control: number | string, allowSameIndex?: boolean, callback?: AnyFunction ): void;
17 scroll( destination: number, duration?: number, snap?: boolean, callback?: AnyFunction ): void;
18 getNext( destination?: boolean ): number;
19 getPrev( destination?: boolean ): number;
20 getEnd(): number;

Callers 2

scrollFunction · 0.65
isBusy.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected