Permalink
Browse files

Step 13.12: Add event handler for pageChange

  • Loading branch information...
1 parent 04e57b9 commit 64cff8492cbef6751c06b685ab0c7864eabbdad7 @kamilkisiela kamilkisiela committed with DAB0mB Sep 23, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 client/imports/app/parties/parties-list.component.ts
@@ -84,6 +84,10 @@ export class PartiesListComponent implements OnInit, OnDestroy {
this.parties = Parties.find(value ? { location: value } : {}).zone();
}
+ onPageChanged(page: number): void {
+ this.curPage.next(page);
+ }
+
ngOnDestroy() {
this.partiesSub.unsubscribe();
this.optionsSub.unsubscribe();

0 comments on commit 64cff84

Please sign in to comment.