lib/bundle.js
/**
 * Get the currently visible viewport rect in page coordinates.
 */
Get the currently visible viewport rect in page coordinates.
Get the currently visible viewport rect in page coordinates .
function clientViewportRect() {
    var elem = document.documentElement;
    var x = window.pageXOffset;
    var y = window.pageYOffset;
    var width = elem.clientWidth;
    var height = elem.clientHeight;
    return { x: x, y: y, width: width, height: height };
}
function clientViewportRect ( ) { var elem = document . documentElement ; var x = window . pageXOffset ; var y = window . pageYOffset ; var width = elem . clientWidth ; var height = elem . clientHeight ; return { x : x , y : y , width : width , height : height } ; }
Get the currently visible viewport rect in page coordinates.
Get the currently visible viewport rect in page coordinates .