aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/custom-stepper.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/signup/custom-stepper.component.ts')
-rw-r--r--client/src/app/signup/custom-stepper.component.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/client/src/app/signup/custom-stepper.component.ts b/client/src/app/signup/custom-stepper.component.ts
deleted file mode 100644
index 2ae40f3a9..000000000
--- a/client/src/app/signup/custom-stepper.component.ts
+++ /dev/null
@@ -1,19 +0,0 @@
1import { Component } from '@angular/core'
2import { CdkStep, CdkStepper } from '@angular/cdk/stepper'
3
4@Component({
5 selector: 'my-custom-stepper',
6 templateUrl: './custom-stepper.component.html',
7 styleUrls: [ './custom-stepper.component.scss' ],
8 providers: [ { provide: CdkStepper, useExisting: CustomStepperComponent } ]
9})
10export class CustomStepperComponent extends CdkStepper {
11
12 onClick (index: number): void {
13 this.selectedIndex = index
14 }
15
16 isCompleted (step: CdkStep) {
17 return step.stepControl && step.stepControl.dirty && step.stepControl.valid
18 }
19}