Answers for "angular stepper change wait before changing"

0

angular stepper change wait before changing

<mat-horizontal-stepper [selectedIndex]="selectedStepIndex" #stepper>
Posted by: Guest on July-12-2020
0

angular stepper change wait before changing

@ViewChild('stepper', { static: false }) stepper: MatStepper;
Posted by: Guest on July-12-2020
0

angular stepper change wait before changing

// I personally do this in ngAfterViewInit() method
setTimeout(() => {
    this.stepper.steps.forEach((step, idx) => {
        step.select = () => {
            // Your custom code here
            // if you want to change step do execute code below
            this.selectedStepIndex = idx;
        };
    });
});
Posted by: Guest on July-12-2020

Code answers related to "angular stepper change wait before changing"

Code answers related to "Javascript"

Browse Popular Code Answers by Language