Sha256: 3677fad57a13cdac640fa97dfa8245c9be716f0b28ea80bfa834de99acb8f027
Contents?: true
Size: 840 Bytes
Versions: 34
Compression:
Stored size: 840 Bytes
Contents
var InputList = angular.module("InputList", []); /* * <input-list></input-list> directive defination */ InputList.directive('inputList', ["$filter", "gettext", function($filter, gettext) { function link(scope, element, attrs){ var ltr = is_ltr(); scope.element_id = "id_" + scope.field; scope.msg_element_id = "id_" + scope.field + "_msg"; } // Actual object of <boolean-field> directive return { templateUrl: template("fields/input-list/input-list"), replace: true, restrict: "E", scope: { cssClasses: '=cssClass', // fieldname field: "=fieldName", // Does this field is required required: "=", // Actual Angularjs ng-model model: '=' }, link: link }; }]);
Version data entries
34 entries across 34 versions & 1 rubygems