src/console/simpleyui.js
function(node, all, altRegion) {
        return DOM.inRegion(node, DOM.viewportRegion(node), all, altRegion);
            
    }
function(node, all, altRegion) {
        return DOM.inRegion(node, DOM.viewportRegion(node), all, altRegion);
            
    }
function ( node , all , altRegion ) { return DOM . inRegion ( node , DOM . viewportRegion ( node ) , all , altRegion ) ; }
Check if any part of this element is in the viewport
@method inViewportRegion
@for DOM
@param {HTMLElement} element The DOM element.
@param {Boolean} all Should all of the node be inside the region
@param {Object} altRegion An object literal containing the region for this node if we already have the data (for performance i.e. DragDrop)
@return {Boolean} True if in region, false if not.
Check if any part of this element is in the viewport