render pagination in collection element

This commit is contained in:
Mads Rasmussen
2023-11-02 13:33:51 +01:00
parent 5cd27f7046
commit dc08005229

View File

@@ -61,6 +61,7 @@ export class UmbCollectionElement extends UmbLitElement {
<umb-body-layout header-transparent>
${this.renderToolbar()}
<umb-router-slot id="router-slot" .routes="${this._routes}"></umb-router-slot>
${this.renderPagination()}
${this.renderSelectionActions()}
</umb-body-layout>
`;
@@ -70,6 +71,10 @@ export class UmbCollectionElement extends UmbLitElement {
return html`<umb-collection-toolbar slot="header"></umb-collection-toolbar>`;
}
protected renderPagination () {
return html`<umb-collection-pagination></umb-collection-pagination>`;
}
protected renderSelectionActions() {
return html`<umb-collection-selection-actions slot="footer-info"></umb-collection-selection-actions>`;
}