nuxeo/iron-pages

Name: iron-pages

Owner: Nuxeo

Description: Simple content switcher

Forked from: PolymerElements/iron-pages

Created: 2017-10-20 21:12:17.0

Updated: 2017-10-20 21:12:19.0

Pushed: 2017-10-20 21:16:28.0

Homepage: https://www.webcomponents.org/element/PolymerElements/iron-pages

Size: 73

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

n-pages selected="0">
iv>One</div>
iv>Two</div>
iv>Three</div>
on-pages>

ipt>
cument.addEventListener('click', function(e) {
var pages = document.querySelector('iron-pages');
pages.selectNext();
;
ript>
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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.