All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.libs.angularjs.angular-input-match.min.js Maven / Gradle / Ivy

!function(a,b){"use strict";function c(a){return{require:"?ngModel",restrict:"A",link:function(c,d,e,f){function g(){var a=h(c);return b.isObject(a)&&a.hasOwnProperty("$viewValue")&&(a=a.$viewValue),a}if(!f)return void(console&&console.warn&&console.warn("Match validation requires ngModel to be on the element"));var h=a(e.match);c.$watch(g,function(){f.$validate()}),f.$validators.match=function(){return f.$viewValue===g()}}}}b.module("validation.match",[]),b.module("validation.match").directive("match",c),c.$inject=["$parse"]}(window,window.angular);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy