https://kotlinlang.org logo
#compose-web
Title
# compose-web
d

Dirk Hoffmann

10/17/2023, 12:39 PM
While there is some information to find for compose desktop and apple/android on how to get information on the overall(!) Window Size / Screen Size, and Padding Infos on it, I struggle a bit to find out the same for compose wasm/wasmJs. How can I get size information (Rect) about the "Browser Viewport" overall size, that the compose wasm UI "paints on" (Incl. Paddings, if there are any)
o

Oleksandr Karpovich [JB]

10/17/2023, 9:40 PM
I think canvas html element width and height can be used for the overall size.
7 Views