30 lines
553 B
TypeScript
30 lines
553 B
TypeScript
import { Component, Input, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-nav-steps',
|
|
templateUrl: './nav-steps.component.html',
|
|
styleUrls: ['./nav-steps.component.scss'],
|
|
})
|
|
export class NavStepsComponent implements OnInit {
|
|
@Input()
|
|
display_next_button = true;
|
|
@Input()
|
|
previous_step_number = 1;
|
|
@Input()
|
|
next_step_number = 1;
|
|
@Input()
|
|
display_previous_button = true;
|
|
@Input()
|
|
is_finish_step = false;
|
|
@Input()
|
|
endAction: Function;
|
|
|
|
constructor() {}
|
|
|
|
ngOnInit(): void {}
|
|
|
|
runEndAction() {
|
|
return this.endAction();
|
|
}
|
|
}
|