import { Component , Input , OnInit , Output , ChangeDetectionStrategy , EventEmitter } from '@angular/core' ; @ Component ( { selector : 'feed-pagination' , templateUrl : './feed-pagination.component.html' , styleUrls : [ './feed-pagination.component.scss' ] , changeDetection : ChangeDetectionStrategy . OnPush } ) export class FeedPaginationComponent implements OnInit { @ Input ( ) isNextPageLoading : boolean ; @ Input ( ) areMorePagesAvailable : boolean ; @ Output ( ) paginate : EventEmitter < any > = new EventEmitter ( ) ; constructor ( ) { } ngOnInit ( ) { } }