You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
807 B
TypeScript
32 lines
807 B
TypeScript
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() {}
|
|
|
|
}
|