Back

Page scroll mode

In this example, the slider always scrolls by one full page (the number of visible items).

Content 1
Content 2
Content 3
Content 4
Content 5
Content 6
Content 7

Source of exampleCopy to clipboard


new AvalynxCardSlider('myCardTrack', {
	scrollMode: 'page',
	prevBtnId: 'btnPrev',
	nextBtnId: 'btnNext',
	dotsId: 'sliderDots'
});
	
AvalynxCardSlider on GitHub Avalynx on GitHub