You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/javascripts/views/sidebar/entry_list.js

23 lines
485 B

//= require views/list/paginated_list
11 years ago
app.views.EntryList = class EntryList extends app.views.PaginatedList {
static tagName = "div";
static className = "_list _list-sub";
11 years ago
1 year ago
constructor(entries) {
super(...arguments);
this.entries = entries;
this.init0(); // needs this.data from PaginatedList
this.refreshElements();
1 year ago
}
11 years ago
init0() {
this.renderPaginated();
this.activate();
}
11 years ago
render(entries) {
1 year ago
return this.tmpl("sidebarEntry", entries);
}
};