just having a backup of the libraries Admin/vendor (angularjs & some libraries) api/system (codeigniter framework libraries) Student/vendor (angularjs & some libraries) api/application/third_party (two heavy useless libraries)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
516 B

angular.module("uiSwitch",[]).directive("switch",function(){return{restrict:"AE",replace:!0,transclude:!0,template:function(e,n){var l="";return l+="<span",l+=' class="switch'+(n.class?" "+n.class:"")+'"',l+=n.ngModel?' ng-click="'+n.ngModel+"=!"+n.ngModel+'"':"",l+=' ng-class="{ checked:'+n.ngModel+' }"',l+=">",l+="<small></small>",l+='<input type="checkbox"',l+=n.id?' id="'+n.id+'"':"",l+=n.name?' name="'+n.name+'"':"",l+=n.ngModel?' ng-model="'+n.ngModel+'"':"",l+=' style="display:none" />',l+="</span>"}}});