How do i make a responsive kotlin/wasm website all...
# compose-web
t
How do i make a responsive kotlin/wasm website all the examples are not responsive
j
Not sure if there is a better way for compose multiplatform
t
How did u do that? from what I can see wasmJs doesn't have most of the APIs used in the example, do u have the code can you share that?
j
I mean if you have a compose multiplatform app, majority of them should be there. You won't have Activity and other Android-specific classes, but the rest should be there.
t
No there isn't, I can't find a way to get the window width(i.e. no WindowSizeClass)
j
Right,
WindowSizeClass
is available via material3 library, afaik but the example with
BoxWithConstraints
should work
👍 1