#thom's support post lolz
36 messages · Page 1 of 1 (latest)
generally (as in tauri itself) no. But if you use a frontend stack that does require node, then yes.
for example if you use frontend bundlers like vitejs or webpack
are you loading it in your index.html file?
and if so, are there any errors in the devtools console?
right click on the window, "inspect" or something
nothing
does your html/css load fine?
ye it does
can you share your project or is it private?
I can share it
lemme commit rq
ah shoot key expired
ah I was building the release package so maybe dev tools was stripped
yup
Ah and further, addEventListener doesn't accept event names starting with "on"
Gotcha.
yeah, the events themselves don't have a on prefix. That's just for the respective functions, like object.onmouseenter = some_function;
didn't even notice that in your code x)
Haha
Everything works as expected now. Now all I gotta do is send key events to android.
thom's support post lolz
Do you think converting from u32 to char is always valid code-point wise?
no, pretty sure it's not.
i think the u32 range is much larger then the unicode ones so once the u32 number gets too large you get "invalid" chars (whatever that would mean here)
i could imagine that there are issues in the valid code range too but no idea or proof x)
ah ok
How is state stored in tauri?
You mean tauri::State? It uses this crate: https://docs.rs/state/latest/state/
oh I see
got it