render pagination in collection element
This commit is contained in:
@@ -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>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user