The Scroll component scrolls the slider to the arbitrary position. The Drag component uses this in the drag free mode.
scroll( position: number, duration?: number ): void
Scrolls the slider to the provided destination.
This method does not update active and previous indices,
The destination to scroll to.
Optional. The scroll duration. If omitted, calculates it by the distance and the base velocity.
Cancels scrolling and emits the