GithubHelp home page GithubHelp logo

pkdevboxy / swiper-scrollbar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nolimits4web/swiper-scrollbar

0.0 2.0 0.0 263 KB

Scrollbar plugin for Swiper

Home Page: http://www.idangero.us/swiper/

JavaScript 80.77% CSS 2.23% HTML 16.99%

swiper-scrollbar's Introduction

Attention! This plugin is not maintained anymore, because this functionality is already in Swiper 3 core.

Swiper-Scrollbar

Scrollbar plugin for Swiper

Scrollbar is the ultra small (about 1Kb minified and gzipped) and free JavaScript plugin for iDangero.us Swiper 1.7+ that adds fully customizable scrollbars to your Swiper slider (or app).

Demos and usage at http://www.idangero.us/sliders/swiper/plugins/scrollbar.php

Note

UMD and non UMD versions are provided.

Build

This project uses grunt to build a dist version.

First you need to have grunt-cli which you should install globally.

$ npm install -g grunt-cli

Then install all dependencies,

$ npm install
$ grunt

The results is available in dist folder.

Build all versions

To create all versions you can use the dist task :

$ grunt dist

This task is equivalent to :

$ grunt build          # the non module version
$ grunt build-umd      # the module compatible version
$ grunt uglify         # minify umd and non umd versions

Demos

Build

To update demos dependencies you will need to do this first,

$ grunt demo
$ cd demos
$ bower install

Launch demos

You can use npm serve module which will create a temporary local server, that will help you watch the demos with no setup overhead.

If you don't have already serve module installed, the recommanded way is to install it globally:

$ npm install -g serve

Then launch the temporary web server on any port you want, default being 3000, and give the demo path as the root directory.

If you want to launch on port 5000, being in ./demos folder, type this:

$ serve . -p 5000

or being in the root folder:

$ serve ./demos/ -p 5000

You can now point your brower to http://localhost:5000/.

License

GPL & MIT

swiper-scrollbar's People

Contributors

dokterbob avatar nolimits4web avatar silvenon avatar stephanebachelier avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.