From 5575302e7389f5044fb698eb53efc6e066eeebdd Mon Sep 17 00:00:00 2001 From: Geriano Date: Sat, 30 Jul 2022 10:57:40 +0700 Subject: [PATCH] adding transition on pagination links --- resources/js/Components/DataTable/Builder.vue | 46 ++++++++++++------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/resources/js/Components/DataTable/Builder.vue b/resources/js/Components/DataTable/Builder.vue index 28cd4a6..395594a 100644 --- a/resources/js/Components/DataTable/Builder.vue +++ b/resources/js/Components/DataTable/Builder.vue @@ -14,7 +14,7 @@ const { url, sticky } = defineProps({ }) const paginator = ref({}) -const processing = ref(false) +const processing = ref(true) const last = ref(null) const config = useForm({ page: 1, @@ -114,14 +114,22 @@ onUpdated(() => rounded())
- - + + +
@@ -148,14 +156,20 @@ onUpdated(() => rounded())
-
-

- Displaying from {{ paginator.from }} to {{ paginator.to }} in total {{ paginator.total }} -

+ +
+

+ Displaying from {{ paginator.from }} to {{ paginator.to }} in total {{ paginator.total }} +

-
- +
+ +
-
+
\ No newline at end of file