src/basis/dom/event.js
function mouseX(event){
    if ('pageX' in event)
      return event.pageX;
    else
      return 'clientX' in event
        ? event.clientX +
            (document.compatMode == 'CSS1Compat' ? document.documentElement.scrollLeft : document.body.scrollLeft)
        : 0;
  }
function mouseX(event){
    if ('pageX' in event)
      return event.pageX;
    else
      return 'clientX' in event
        ? event.clientX +
            (document.compatMode == 'CSS1Compat' ? document.documentElement.scrollLeft : document.body.scrollLeft)
        : 0;
  }
function mouseX ( event ) { if ( 'pageX' in event ) return event . pageX ; else return 'clientX' in event ? event . clientX + ( document . compatMode == 'CSS1Compat' ? document . documentElement . scrollLeft : document . body . scrollLeft ) : 0 ; }
Returns mouse click horizontal page coordinate.
@param {Event} event
@return {number}
Returns mouse click horizontal page coordinate .