A Polymer element for displaying a swipeable image carousel.
Works with <aspect-image>
(included), which displays images at 100% of their container's width, preserving a specified aspect ratio.
Usage:
<swipe-carousel>
<aspect-image class="swipe-carousel-item" w="16" h="9" src="http://placekitten.com/400/300"></aspect-image>
<aspect-image class="swipe-carousel-item" w="16" h="9" src="http://placekitten.com/400/300"></aspect-image>
<aspect-image class="swipe-carousel-item" w="16" h="9" src="http://placekitten.com/400/300"></aspect-image>
</swipe-carousel>
☝️ the .swipe-carousel-item class is required!