jestrux / Slider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slider

Simple way to make Slides and slideshows on the web.

Simple Usage

const slider = new Slider("#slideshowContainer");

// if you want it to play automatically add
slider.play();

See sample code here

Developer environment requirements

To run this project, you will need:

Running tests

yarn
yarn test
yarn test --watch

Dev mode

When developing you can run:

yarn watch

This will regenerate the build files each time a source file is changed and serve on http://127.0.0.1:5000.

Previewing umd build in the browser

If your package works in the browser, you can open dev/index.html to try it out.

Publishing

npm publish

Additional tooling

Based on your need, you might want to add:

If so, please do and open pull requests when you feel like it.

About


Languages

Language:JavaScript 79.7%Language:CSS 20.3%