Skip to content

Cople/mintScrollbar.js

Repository files navigation

mintScrollbar.js

Just another jQuery scrollbar plugin.

Demo

Demo Demo

Usage

$(".demo").mintScrollbar();

Options

{
    onChange: null, // function
    axis: "auto", // "x", "y", "both", "auto"
    wheelSpeed: 120,
    disableOnMobile: true
}

Methods

$(".demo").data("mintScrollbar").resize();
$(".demo").data("mintScrollbar").update();
$(".demo").data("mintScrollbar").destroy();


$(".demo").data("mintScrollbar").scrollTo(destX, destY);
$(".demo").data("mintScrollbar").scrollToX(destX);
$(".demo").data("mintScrollbar").scrollToY(destY);


$(".demo").data("mintScrollbar").scrollBy(deltaX, deltaY);
$(".demo").data("mintScrollbar").scrollByX(deltaX);
$(".demo").data("mintScrollbar").scrollByY(deltaY);

$(".demo").data("mintScrollbar").scrollByLines(lines);
$(".demo").data("mintScrollbar").scrollByPages(pages);

About

Just another jQuery scrollbar plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published