2 * Created by obarda on 1/8/2017.
6 export interface IPropertyRowDirective extends ng.IScope {
7 onNameClicked:Function;
11 export class PropertyRowDirective implements ng.IDirective {
21 instancePropertiesMap: '=',
23 onCheckboxClicked: '&'
28 template = ():string => {
29 return require('./property-row-view.html');
32 link = (scope:IPropertyRowDirective, element:any, $attr:any) => {
33 scope.isClickable = $attr.onNameClicked ? true : false;
36 public static factory = ()=> {
37 return new PropertyRowDirective();
42 PropertyRowDirective.factory.$inject = [];