This package has been deprecated

Author message:

Please use @polymer packages instead

@npm-polymer/iron-pages

2.0.0 • Public • Published

Build status

Demo and API docs

<iron-pages>

iron-pages is used to select one of its children to show. One use is to cycle through a list of children "pages".

Example:

<iron-pages selected="0">
  <div>One</div>
  <div>Two</div>
  <div>Three</div>
</iron-pages>

<script>
  document.addEventListener('click', function(e) {
    var pages = document.querySelector('iron-pages');
    pages.selectNext();
  });
</script>

Notable breaking changes between 1.x and 2.x (hybrid):

IronSelectableBehavior and IronMultiSelectableBehavior, which are used by iron-pages, introduce multiple breaking changes. Please see the README for those behaviors for more detail.

Package Sidebar

Install

npm i @npm-polymer/iron-pages

Weekly Downloads

0

Version

2.0.0

License

http://polymer.github.io/LICENSE.txt

Last publish

Collaborators

  • npm-polymer