Browser width and height (jet another?)

Hi all,

This post might be a duplicate by i am sharing it anyways :slight_smile:

The purpose for this example is just to get the screen width/height, the browser width/height and browser resize event with (just) python.

I find the example very minimalistic, since there are only a few line of code inside the Form1.

Please feel free to try it out https://browser-width-and-height.anvil.app

Apr-12-2023 17-25-38

Clone to project

PS
This example is another approach of this post https://anvil.works/forum/t/page-resize-events/2361

4 Likes