import { CommonModule } from '@angular/common'; import { Component, EventEmitter, Input, Output } from '@angular/core'; // enums import { eGeneralActions } from '../../enums'; @Component({ selector: 'app-ca-show-more', templateUrl: './ca-show-more.component.html', styleUrl: './ca-show-more.component.scss', imports: [CommonModule] }) export class CaShowMoreComponent { @Input() displayedDataCount: number = 0; @Input() totalDataCount: number = 0; @Output() onShowMore: EventEmitter = new EventEmitter(); // enums public eGeneralActions = eGeneralActions; constructor() {} public onShowMoreClick(): void { this.onShowMore.emit(); } }