Directory

← Back

iron-swipeable-pages

[Polymer 1.x] Element that enables switching between different pages by swiping gesture.

Author

Contributors

Rating

[ This description is mirrored from README.md at github.com/GeoloeG/iron-swipeable-pages on 2019-05-10 ]

Published on webcomponents.org

<iron-swipeable-pages>

Descripton

<iron-swipeable-pages> manages a set of pages and provides the ability to switch between them by swiping gesture.

Install

Install the component using Bower:

$ bower install iron-swipeable-pages --save

Usage

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.

More Demos

https://geoloeg.github.io/iron-swipeable-pages/

Discussing

If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Compatibility

(Loading compatibility data...)

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.

Version

Dependencies

  • polymer#Polymer/polymer#^1.2.0
  • iron-resizable-behavior#PolymerElements/iron-resizable-behavior#^1.0.0
  • iron-selector#PolymerElements/iron-selector#^1.4.0
Released
2017-12-11
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 1.0+
Browser
Browser Independent
Online