src/event/handlers/window_events.js
function() {
  var doc = document.documentElement;
  return {
    x: (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0),
    y: (window.pageYOffset || doc.scrollTop)  - (doc.clientTop || 0)
  };
}
function() {
  var doc = document.documentElement;
  return {
    x: (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0),
    y: (window.pageYOffset || doc.scrollTop)  - (doc.clientTop || 0)
  };
}
function ( ) { var doc = document . documentElement ; return { x : ( window . pageXOffset || doc . scrollLeft ) - ( doc . clientLeft || 0 ) , y : ( window . pageYOffset || doc . scrollTop ) - ( doc . clientTop || 0 ) } ; }
Read data to pass through for Scroll event to prevent repeated reads
@return {Object}       Scroll properties of element
Read data to pass through for Scroll event to prevent repeated reads