Is there a built in Wappler way of getting an elements height

Currently to get an elements height i use

<script>
    function allDynamicElementHeights() {
        let boxR = document.querySelector('.dynamic-height-right');
        let heightR = boxR.offsetHeight;
        dmx.app.set('heightR', heightR);
    }
</script>

Along with a static event to call the function, which works well, but is there already a built in Wappler way to achieve this.

Community Page
Last updated: