Namespace: geom

Iroha. geom

geometry properties object; the property values are updated when Iroha.getGeometry is called.
Properties:
Name Type Description
screenW number width of the screen (devicePixelRatio considered, never change by orientation)
screenH number height of the screen (devicePixelRatio considered, never change by orientation)
windowW number width of the window viewport.
windowH number height of the window viewport.
pageW number width of the document.
pageH number height of the document.
scrollX number scrollLeft position of the document.
scrollY number scrollTop position of the document.
windowX number mouse position on X-axis (the origin is top left of the window viewport)
windowY number mouse position on Y-axis (the origin is topleft of the window viewport)
pageX number mouse position on X-axis (the origin is topleft of the document)
pageY number mouse position on Y-axis (the origin is topleft of the document)
zoom number window zoom ratio (in WinIE7).
scrollBar number browser's scrollbar width.
Source: