# Adding Phoenix.LiveView.JS function for getting \`getBoundingClientRect\` params

**URL:** <https://forum.elixirforum.com/t/adding-phoenix-liveview-js-function-for-getting-getboundingclientrect-params/65504>\
**Category:** Proposals: Ideas\
**Tags:** phoenix, liveview\
**Created:** [August 15, 2024, 12:55pm UTC](https://forum.elixirforum.com/t/adding-phoenix-liveview-js-function-for-getting-getboundingclientrect-params/65504 "2024-08-15T12:55:25Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![sezaru](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sezaru/32/36113_2.png) [@sezaru](https://forum.elixirforum.com/u/sezaru)\
**Post date:** [August 15, 2024, 7:18pm UTC](https://forum.elixirforum.com/t/adding-phoenix-liveview-js-function-for-getting-getboundingclientrect-params/65504/13 "2024-08-15T19:18:11Z")

</div>

Yep, that’s what I do as-well, but as you said, it is not a great way to handle these cases and kinda hacky

---

_[View the full topic](https://forum.elixirforum.com/t/adding-phoenix-liveview-js-function-for-getting-getboundingclientrect-params/65504)._
