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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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>
IronSelectableBehavior and IronMultiSelectableBehavior, which are used by iron-pages, introduce multiple breaking changes. Please see the README for those behaviors for more detail.