verge viewport suite



  
div#a
test
code
expected
type
live
output
$.inViewport(a, -100) boolean
$.inViewport(a) boolean
$.inViewport(a, 100) boolean
$.viewportW() number
$.viewportH() number
$.scrollX() number
$.scrollY() number
$.rectangle(a).top number
$.rectangle(a).bottom number
$.rectangle(a).left number
$.rectangle(a).right number
$.rectangle(a).width number
$.rectangle(a).height number
$.inViewport(b, 100) boolean
$.inViewport(b) boolean
$.inViewport(b, -100) boolean
div#b
div#c