Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

karlito-who-else/swipe-pages

 
 

Repository files navigation

swipe-pages

See the component page for more information.

TODO

  • Improve page scroll stability
  • Improve page scroll performance
  • Improve performance in swiping between pages (by reusing pages?)
  • Have pages scroll down independently of each other
  • Make element play nicer with the polymer core-elements (like core-scroll-header-panel and core-list)
  • Add option to mark each page with a browser tag to resume state from url
  • Include sane defaults for hardware acceleration (translateZ hack in the right places)
  • Make a nicer demo with more features to better explain the element
  • Add option to reverse direction for rtl languages
  • Do some more rigorous testing to ensure stability!!!
  • Allow for individual pages to be created dynamically.

Installation

With Bower:

bower install swipe-pages

Basic Example

<swipe-pages>
  <swipe-page>I am page 0<swipe-page>
  <swipe-page>I am page 1<swipe-page>
  <swipe-page>I am page 2<swipe-page>
</swipe-pages>

About

Horizontally swipeable pages

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 95.3%
  • CSS 4.7%