beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

WindowInfo Op



WindowInfo
Namespace: Ops.Html

Op author: pandur

size of browser window in pixels


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]

Inputs

Outputs

clientWidth (Number)
clientHeight (Number)
body scroll Height (Number)
Device Pixel Ratio (Number)
Iframe Parent (boolean Number)
Orientation Angle (Number)
Orientation Type (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using WindowInfo

  • Examples
  • Public
  • My Patches

Changelog


created op
2019-08-26 - pandur
featureadded boolean output: patch is opened in an iframe or not
2022-12-14 - pandur
featureadd output: absolute scroll-height of body
2022-12-14 - pandur