Minimalist, vanilla, lightweight and responsive slider plugin
Proton Slider is a free slider plugin for JavaScript. It doesn't depend on jQuery or any external library. You just need a modern browser to run it.
For examples and docs, check out its official website.
TODO
Include the proton.css
and proton.min.js
in your page.
Create a simple markup like the following (the CSS classes doesn't matter):
<div class="my-slider">
<div class="my-cell">...</div>
<div class="my-cell">...</div>
<div class="my-cell">...</div>
</div>
Then, just create a new Proton instance:
var slider = new Proton('.my-slider', {
/* options */
})
List of available options:
Install Gulp globally:
npm install gulp -g
Then, install all Proton's dependencies:
npm install
After that, just run npm test
or gulp test
.
If you want to test in another browser than PhantomJS,
just open the file proton/test/index.html
in your chosen browser.
TODO
TODO