From c82ca04bab6214030243fa09d0550d2961adb0c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Albertino=20J=C3=BAnior?=
Date: Mon, 2 Apr 2018 12:56:54 -0300
Subject: [PATCH] Pagination demo page correction (#305)
Removed duplicate section "Basic pagination"
Fixed method name "pageChange"
---
.../app/pagination/pagination.component.html | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/demo-app/src/app/pagination/pagination.component.html b/demo-app/src/app/pagination/pagination.component.html
index 9805b722..304c05a7 100644
--- a/demo-app/src/app/pagination/pagination.component.html
+++ b/demo-app/src/app/pagination/pagination.component.html
@@ -49,21 +49,6 @@ Displayed pages
-
-
Basic pagination
-
-
-
-
-
-
- By setting itemsPerPage
and totalItems
input property on mz-pagination
component, the number of available pages will automatically be calculated.
-
-
-
First and last page button
@@ -170,7 +155,7 @@
Playground
HTML Structure
<mz-pagination
- (pageChanged)="onPageChange($event)"
+ (pageChange)="onPageChange($event)"
[currentPage]="1"
[enableFirstAndLastPageButtons]="false"
[itemsPerPage]="10"