elected");
}
if (this.multi) {
this.selected = [];
} else {
this.selected = null;
}
},
deselect: function(item) {
if (this.multi) {
var scol = Polymer.Collection.get(this.selected);
var sidx = this.selected.indexOf(item);
if (sidx >= 0) {
var skey = scol.getKey(item);
this.splice("selected", sidx, 1);
this.unlinkPaths("selected." + skey);
return true;
}
} else {
this.selected = null;
this.unlinkPaths("selected");
}
},
select: function(item) {
var icol = Polymer.Collection.get(this.items);
var key = icol.get