import { Component, OnInit, Input, Output, EventEmitter} from '@angular/core'; import { TranslatorService } from '../../services/translator/translator.service'; @Component({ selector: 'app-stats-button', templateUrl: './stats-button.component.html', styleUrls: ['./stats-button.component.scss'], }) export class StatsButtonComponent implements OnInit { @Input() class: any = ''; @Input() buttonClass: any = ''; @Input() icon: string; @Input() title: string; @Input() statsValue: string; @Input() link: string; @Output() trigger = new EventEmitter(); @Input() focusicon: string; @Input() disabled = false; @Input() show: boolean ; public direction: string; public style: any; constructor( public ts: TranslatorService ) {} ngOnInit() {} public onClicked() {} }