src/common/js/winjs/js/ui.js
function filterOnScreen(element) {
                var elementBoundingClientRect = element.getBoundingClientRect();
                // Can't check left/right since it might be scrolled off.
                return elementBoundingClientRect.top < viewportBoundingClientRect.bottom && elementBoundingClientRect.bottom > viewportBoundingClientRect.top;
            }
function filterOnScreen(element) {
                var elementBoundingClientRect = element.getBoundingClientRect();
                // Can't check left/right since it might be scrolled off.
                return elementBoundingClientRect.top < viewportBoundingClientRect.bottom && elementBoundingClientRect.bottom > viewportBoundingClientRect.top;
            }
function filterOnScreen ( element ) { var elementBoundingClientRect = element . getBoundingClientRect ( ) ; // Can't check left/right since it might be scrolled off. return elementBoundingClientRect . top < viewportBoundingClientRect . bottom && elementBoundingClientRect . bottom > viewportBoundingClientRect . top ; }
Find the elements to slide in
Find the elements to slide in