angularjs 失去焦點事件

//失去焦點使用 jQuery 的擴展支持冒泡 app.directive('ngBlur', function($parse){ return function(scope, element, attr){ var fn = $parse(attr['ngBlur']); $(element).on('focusout', function(event){ fn(scope, {$event:
相關文章
相關標籤/搜索