The beautiful photos are take from Unsplash
To start using Miniswiper, you will need the following:
Let's start with the basic markup:
<div class="miniswiper-container" id="MiniswiperId">
<div class="miniswiper-content">
<div class="miniswiper-slide">
<!-- item content -->
</div>
<!-- more... -->
</div>
</div>
new Miniswiper('MiniswiperId');
new Miniswiper('MiniswiperId', {
direction: 'vertical',
indicator: true
});
new Miniswiper('MiniswiperId', {
direction: 'horizontal',
indicator: 'circle',
circular: true,
autoplay: true
});
new Miniswiper('MiniswiperId', {
effect: 'fade',
indicator: true,
circular: true,
autoplay: {interval: 5000, duration: 1000}
});
new Miniswiper('MiniswiperId', {
direction: 'horizontal',
circular: true,
autoplay: {interval: 3500, duration: 500},
special: {maxScale: 0.9, minScale: 0.85, minOpacity: 0.5}
});
new Miniswiper('MiniswiperId', {
direction: 'horizontal',
arrow: true,
circular: true
});