// Sample data for the content of the list.
// Your application may also fetch this data remotely via XMLHttpRequest.
_rowData: [],

// The List calls this method to find out how many rows should be in the list.
numberOfRows: function() {
return this._rowData.length;
},

// The List calls this method once for every row.
prepareRow: function(rowElement, rowIndex, templateElements) {
// templateElements contains references to all elements that have an id in the template row.
// Ex: set the value of an element with id="label".
if (templateElements.rowLabel) {
templateElements.rowLabel.innerText = this._rowData[rowIndex].title.$t;