On ComposeWeb `BoxWithConstraints` is not availabl...
# compose-web
d
On ComposeWeb
BoxWithConstraints
is not available. What is an alternative in order to get the width and height of the page?
👀 1
g
The clientWidth and clientHeight of the body element may get you close to what you are looking for. Have a look at https://developer.mozilla.org/en-US/docs/Web/API/Element and https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight.