3.1.0 • Published 6 years ago

sglide v3.1.0

Weekly downloads
8
License
GNU/GPL
Repository
github
Last release
6 years ago

sGlide

A smart, lightweight and flexible slider, that's fully featured, responsive and mobile-ready. Standalone or jQuery. It can be easily customized and styled using regular CSS.

For details, visit home page.

Quickstart Guide: apply the following to an empty div with a unique id.

let callback = o => {};
let options = {
	startAt: 60,
	width: 85,
	height: 20,
	snap: {
		points: 5,
		marks: true
	},
	drop: callback,
	onSnap: callback
};

// Standalone
let sG_instance = new sGlide(el, options);

// or jQuery
$('div#slider').sGlide(options);