[Polymer 1.x] Element that enables switching between different pages by swiping gesture.
[ This description is mirrored from README.md at github.com/GeoloeG/iron-swipeable-pages on 2019-05-10 ]
<iron-swipeable-pages> manages a set of pages and provides the ability to switch between them by swiping gesture.
Install the component using Bower:
$ bower install iron-swipeable-pages --save
Import Custom Element:
<link rel="import" href="bower_components/iron-swipeable-pages/iron-swipeable-pages.html">
And then use it:
<iron-swipeable-pages selected="0"> <div>One</div> <div>Two</div> <div>Three</div> </iron-swipeable-pages>
See the Documentation for more options.
If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
- MIT License
- Polymer 1.0+
- Browser Independent