summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/wizard-step.ts
blob: b8484b2dd65d005a93eb4220c0671e1cebd24f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * Created by rc2122 on 8/16/2017.
 */

import {Type} from "@angular/core";

export interface IStepComponent {
    preventNext():boolean;
    preventBack():boolean;
}

export class StepModel{
    title: string;
    component: Type<IStepComponent>;
    constructor(title: string, component: Type<IStepComponent>){
        this.title = title;
        this.component = component;
    }
}