3 export interface ICheckboxElementScope extends ng.IScope {
7 sdcChecklistValue:string;
11 export class CheckboxElementDirective implements ng.IDirective {
13 constructor(private $filter:ng.IFilterService) {
16 public replace = true;
17 public restrict = 'E';
18 public transclude = false;
24 sdcChecklistModel: '=',
25 sdcChecklistValue: '=',
26 sdcChecklistChange: '&'
29 template = ():string => {
30 return require('./checkbox.html');
33 public link = (scope:ICheckboxElementScope, $elem:ng.IAugmentedJQuery, $attrs:angular.IAttributes) => {
37 public static factory = ($filter:ng.IFilterService)=> {
38 return new CheckboxElementDirective($filter);
43 CheckboxElementDirective.factory.$inject = ['$filter'];