WindowInfo Op
size of browser window in pixels
Summary (oneliner)
provides 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
Full Name
- Ops.Html.WindowInfo
- Core Op - Official cables op
- MIT
- caniuse.com: ScreenOrientation
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch window info
OUTPUT PORTS
clientWidth (Number)
clientHeight (Number)
body scroll Height (Number)
Device Pixel Ratio (Number)
Iframe Parent (booleanNumber)
Orientation Angle (Number)
Orientation Type (String)