blob: 8fbaf9091c3de577e73fe2c0955a0d68cb71bff7 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001/**
2 * Created by rc2122 on 5/10/2017.
3 */
4export class ButtonModel {
5 text: string;
6 cssClass: string;
7 callback: Function;
8 getDisabled:Function;
9 constructor(text?:string, cssClass?:string, callback?:Function, getDisabled?:Function){
10 this.text = text;
11 this.cssClass = cssClass;
12 this.callback = callback;
13 this.getDisabled = getDisabled;
14
15 }
16}
17
18export class ButtonsModelMap {
19 [buttonName: string]: ButtonModel;
20}