![JAR search and dependency download from the Maven repository](/logo.png)
app.directives.ngBlur.js Maven / Gradle / Ivy
The newest version!
define([
'angular'
],
function (angular) {
'use strict';
angular
.module('kibana.directives')
.directive('ngBlur', ['$parse', function($parse) {
return function(scope, element, attr) {
var fn = $parse(attr['ngBlur']);
element.bind('blur', function(event) {
scope.$apply(function() {
fn(scope, {$event:event});
});
});
};
}]);
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy