Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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

install

npm i sglide

Downloadsweekly downloads

7

version

3.1.0

license

GNU/GPL

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability