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 @@