First of all, nice library/framework really liking...
# kobweb
c
First of all, nice library/framework really liking it so far! I do have a question about getting the actual hardware screen size. Is there a possibility for this? For javascript you could do
window.screen.height
, but this doesn't seem to be available, is this correct? Is there any variant for this that I might use, or is this still something in the works? 🤔
c
You should be able to use any JS function 🤔 I checked, and
window.screen.height
is available in the standard library. Can you share a snippet of what you tried?
c
Ooh wow, don't know what you did, but suddenly it's available on my device... 😆 All jokes aside. For some reason it wasn't showing up as something I could use, but now I can continue with what I wanted to do!
c
You just have to believe 🙂 More seriously, when something you expect to appear doesn't, try reloading Gradle or "File → Repair IDE", it can help a lot
c
Super, thanks for the tip!
d
I've seen weird auto-complete issues with
window
, like I recently did a symbol search for
setTimeout
and it didn't show up! But it's definitely there. Thanks @CLOVIS for your quick answer here and @Christiano glad you're fixed and hope you continue to enjoy the framework (despite the inevitable CSS frustrations....!)
c
Yeah, CSS will never be my friend I'm afraid. But this library will help tremendously! 😄
💪 1