blob: 8fbaf9091c3de577e73fe2c0955a0d68cb71bff7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* Created by rc2122 on 5/10/2017.
*/
export class ButtonModel {
text: string;
cssClass: string;
callback: Function;
getDisabled:Function;
constructor(text?:string, cssClass?:string, callback?:Function, getDisabled?:Function){
this.text = text;
this.cssClass = cssClass;
this.callback = callback;
this.getDisabled = getDisabled;
}
}
export class ButtonsModelMap {
[buttonName: string]: ButtonModel;
}
|