Simple way to make Slides and slideshows on the web.
const slider = new Slider("#slideshowContainer");
// if you want it to play automatically add
slider.play();
See sample code here
To run this project, you will need:
- Node.js >= v10.5.0, use nvm - install instructions
- Yarn >= v1.7.0 - install instructions ("Alternatives" tab)
yarn
yarn test
yarn test --watch
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.
If your package works in the browser, you can open dev/index.html
to try it out.
npm publish
Based on your need, you might want to add:
- ESLint and Prettier
- TypeScript support
- Monorepo support with Lerna
- CHANGELOG.md generation with conventional-changelog
If so, please do and open pull requests when you feel like it.