@Input() ignoreLoadingBar = false
@Input() infiniteScroll = true
@Input() itemsPerPage = 20
+ @Input() markAllAsReadSubject: Subject<boolean>
@Output() notificationsLoaded = new EventEmitter()
}
this.loadMoreNotifications()
+
+ if (this.markAllAsReadSubject) {
+ this.markAllAsReadSubject.subscribe(() => this.markAllAsRead())
+ }
}
loadMoreNotifications () {