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
app.views.EntryList = class EntryList extends app.views.PaginatedList {
static tagName = "div";
static className = "_list _list-sub";
constructor(entries) {
super(...arguments);
this.entries = entries;
this.init0(); // needs this.data from PaginatedList
this.refreshElements();
}
init0() {
this.renderPaginated();
this.activate();
}
render(entries) {
return this.tmpl("sidebarEntry", entries);
}
};