What is TinSlide?
TinSlide is a dependency free Javascript content slider interface.
Why TinSlide?
Because you want to
clickclickclickclickclick
taptaptaptaptaptaptaptaptap
Because you don't want to
click ... wait ... click ... ugh ... wait ... leave
Installation
yarn add tin-slide --save
npm install tin-slide --save
bower install tin-slide --save
Usage
As a module
import TinSlide from 'tin-slide';
TinSlide(document.getElementById('TinSlide'), {
// Options.
});
Script tag
You can choose to load the script separately, or implement the script in your pre processor any way you like.
<script src="node_modules/tin-slide/dist/tin-slide.js"></script>
<script>
TinSlide(document.getElementById('TinSlide'), {
// Options.
});
</script>