ux-datagrid-disableHoverWhileScrolling.min.js

! ux-angularjs-datagrid v.1.4.11 (c) 2016, Obogo https://github.com/obogo/ux-angularjs-datagrid License: MIT.

(function (exports, global) {
if (typeof define === "function" && define.amd) {
  define(exports);
} else if (typeof module !== "undefined" && module.exports) {
  module.exports = exports;
} else {
  global.ux = exports;
}


!function(a,b){"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&module.exports?module.exports=a:b.ux=a,angular.module("ux").factory("disableHoverWhileScrolling",function(){return["inst",function(a){function b(){a.flow.log("init"),ux.css.createClass("grid","."+g+" *","pointer-events: none !important;")}function c(){a.flow.stopTimeout(f),a.flow.log("scrollStart"),a.element[0].classList.contains(g)||a.element[0].classList.add(g)}function d(){a.flow.async?f=a.flow.timeout(e,500):e()}function e(){a.flow.log("scrollStop"),a.element[0].classList.remove(g)}var f,g="disable-hover-while-scrolling";return a.unwatchers.push(a.scope.$on(ux.datagrid.events.ON_SCROLL_START,c)),a.unwatchers.push(a.scope.$on(ux.datagrid.events.ON_SCROLL_STOP,d)),b(),a}]})}(this.ux=this.ux||{},function(){return this}());

sourceMappingURL=ux-datagrid-disableHoverWhileScrolling.min.js.map

}(this.ux = this.ux || {}, function() {return this;}()));