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.

No, there’s no built in function to do this :slight_smile:

1 Like

Thanks for confirming, Wappler has made me so lazy that i hate even writing 3 little lines of manual code, haha

2 Likes