Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame^] | 1 | /** |
| 2 | * Created by obarda on 7/31/2016. |
| 3 | */ |
| 4 | 'use strict'; |
| 5 | |
| 6 | export class Tab { |
| 7 | |
| 8 | public templateUrl:string; |
| 9 | public controller:string; |
| 10 | public data:any; |
| 11 | public icon:string; |
| 12 | public name:string; |
| 13 | public isViewMode:boolean; |
| 14 | |
| 15 | constructor(templateUrl:string, controller:string, name:string, isViewMode:boolean, data?:any, icon?:string) { |
| 16 | |
| 17 | this.templateUrl = templateUrl; |
| 18 | this.controller = controller; |
| 19 | this.icon = icon; |
| 20 | this.data = data; |
| 21 | this.name = name; |
| 22 | this.isViewMode = isViewMode; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | |
| 27 | |