From 8b2ab6dbaff9cfd8be35702212adbe930fd20bd5 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 30 Oct 2024 15:07:24 +0300 Subject: [PATCH] Refactor #6683 - For DataView --- packages/primevue/src/dataview/DataView.d.ts | 4 +++ packages/primevue/src/dataview/DataView.vue | 34 +++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/packages/primevue/src/dataview/DataView.d.ts b/packages/primevue/src/dataview/DataView.d.ts index a7a4334ea..ea1b4b045 100755 --- a/packages/primevue/src/dataview/DataView.d.ts +++ b/packages/primevue/src/dataview/DataView.d.ts @@ -280,6 +280,10 @@ export interface DataViewSlots { */ layout?: string | undefined; }): VNode[]; + /** + * Custom paginator container template. + */ + paginatorcontainer(): VNode[]; /** * Custom paginator start template. */ diff --git a/packages/primevue/src/dataview/DataView.vue b/packages/primevue/src/dataview/DataView.vue index 6d5eb6be5..467765c84 100755 --- a/packages/primevue/src/dataview/DataView.vue +++ b/packages/primevue/src/dataview/DataView.vue @@ -18,6 +18,22 @@ :unstyled="unstyled" :pt="ptm('pcPaginator')" > + @@ -51,6 +67,22 @@ :unstyled="unstyled" :pt="ptm('pcPaginator')" > + @@ -65,7 +97,7 @@