update components

This commit is contained in:
Luke Pulverenti 2016-04-22 12:09:08 -04:00
parent e1d75fd9c2
commit aaeb444675
22 changed files with 253 additions and 90 deletions

View file

@ -93,7 +93,11 @@ animations to be run when switching to or switching out of the page.
_onIronSelect: function(event) {
var selectedPage = event.detail.item;
if (!selectedPage) return;
// Only consider child elements.
if (this.items.indexOf(selectedPage) < 0) {
return;
}
var oldPage = this._valueToItem(this._prevSelected) || false;
this._prevSelected = this.selected;