size of browser window in pixels
Summary (oneliner)
providies information about the current windows (or iframe) width, height and pixel density.
orientation info uses: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation
Brower support [caniuse.com]
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
Outputs
clientWidth (Number)
clientHeight (Number)
body scroll Height (Number)
Device Pixel Ratio (Number)
Iframe Parent (boolean Number)
Orientation Angle (Number)
Orientation Type (String)
Patches using WindowInfo
Changelog
created op 2019-08-26 - pandur | |
feature | added boolean output: patch is opened in an iframe or not 2022-12-14 - pandur |
feature | add output: absolute scroll-height of body 2022-12-14 - pandur |