From c13a844d105ed668d6464d2e27ed88f95cd2fa50 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 20 Mar 2019 15:31:32 +0300 Subject: [PATCH] Cosmetics on Paginator Docs --- src/components/paginator/Paginator.vue | 252 +++++++++-------- src/views/paginator/PaginatorDemo.vue | 57 ++-- src/views/paginator/PaginatorDoc.vue | 356 +++++++++++++------------ 3 files changed, 331 insertions(+), 334 deletions(-) diff --git a/src/components/paginator/Paginator.vue b/src/components/paginator/Paginator.vue index 297a4c4a1..0d59d3edb 100644 --- a/src/components/paginator/Paginator.vue +++ b/src/components/paginator/Paginator.vue @@ -13,146 +13,144 @@ \ No newline at end of file diff --git a/src/views/paginator/PaginatorDemo.vue b/src/views/paginator/PaginatorDemo.vue index a5e7378e1..c5520915a 100644 --- a/src/views/paginator/PaginatorDemo.vue +++ b/src/views/paginator/PaginatorDemo.vue @@ -3,7 +3,7 @@

Paginator

-

Paginator is a generic widget to display content in paged format.

+

Paginator is a generic component to display content in paged format.

@@ -20,34 +20,31 @@ - - + }, + methods: { + onPageChange(event) { + this.first = event.first; + this.rows = event.rows; + }, + onPageChangeCustom(event) { + this.first2 = event.first; + this.rows2 = event.rows; + } + }, + components: { + 'PaginatorDoc': PaginatorDoc + } +} + \ No newline at end of file diff --git a/src/views/paginator/PaginatorDoc.vue b/src/views/paginator/PaginatorDoc.vue index 7922acf33..edb6e14bb 100644 --- a/src/views/paginator/PaginatorDoc.vue +++ b/src/views/paginator/PaginatorDoc.vue @@ -1,196 +1,198 @@