9 addItems: function(items) {
10 this.$.records.createComponents(items, {kind: this.listKind});
11 for (var i = 0; i < items.length; i++) {
12 var r = parseInt(items[i].record);
13 if (r < this.lastRecord || this.lastRecord == null)
16 this.$.records.render();
18 loadMore: function() {
19 if (this.lastRecord == 0)
22 if (this.lastRecord != null) {
23 var to = this.lastRecord - 1;
24 var from = this.lastRecord - 50;
27 this.loadItems(from, to);
32 loadItems: function(from, to) { }