Skip to content

sixsided/polymer-swipe-carousel

Repository files navigation

<swipe-carousel>

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!

About

Simple touch-based image carousel for polymer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published