import { Component, Input } from '@angular/core'; import { IFooterButton } from './interface'; @Component({ selector: 'kit-footer', templateUrl: './footer.component.html', styleUrls: ['../styles/index.scss'] }) export class FooterComponent{ @Input() buttons: IFooterButton[] = []; @Input() stepNumber: number = 0; @Input() stepTotal: number = 0; @Input() typeDrawer: boolean = false; getprogresValue(){ const progress = ((this.stepNumber/this.stepTotal)*100).toString(); return progress; } }