ElementClientRect Op

ElementClientRect

get html element absolute position and size in pixels on screen


Full Name
  • Ops.Html.ElementClientRect
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Update (Trigger)
Element (Object:element)
Pixel Units index (Number:

<i>integer</i>

)
 CSS Pixels  Display Pixels 

OUTPUT PORTS


X (Number)
Y (Number)
Width (Number)
Height (Number)

Patches using ElementClientRect

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2021-02-01 16:52
Ops.User.pandur.ElementClientRect renamed to Ops.Html.ElementClientRectuser avatarpandur - 2021-02-16 15:42
featureAdded parameter to switch between CSS pixels or Display pixelsuser avatarpandur - 2024-02-19 12:25