This package has been deprecated

Author message:

WARNING: This package has been renamed to slydr. Please install it instead. See https://github.com/dkazmer/slydr/ for more information.

sglide

3.1.0 • Public • Published

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);

Dependents (0)

Package Sidebar

Install

npm i sglide

Weekly Downloads

0

Version

3.1.0

License

GNU/GPL

Unpacked Size

264 kB

Total Files

21

Last publish

Collaborators

  • dkazmer