Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame^] | 1 | /** |
2 | * Created by rc2122 on 8/16/2017. | ||||
3 | */ | ||||
4 | |||||
5 | import {Type} from "@angular/core"; | ||||
6 | |||||
7 | export interface IStepComponent { | ||||
8 | preventNext():boolean; | ||||
9 | preventBack():boolean; | ||||
10 | } | ||||
11 | |||||
12 | export class StepModel{ | ||||
13 | title: string; | ||||
14 | component: Type<IStepComponent>; | ||||
15 | constructor(title: string, component: Type<IStepComponent>){ | ||||
16 | this.title = title; | ||||
17 | this.component = component; | ||||
18 | } | ||||
19 | } |