Is there any possible solution to retrieve the resolution of phone size (both height and width),at the beginning of the js file? (NOT IN UNO)
var height_screen = (somefunction); var width_screen = (somefunction);
Is there any possible solution to retrieve the resolution of phone size (both height and width),at the beginning of the js file? (NOT IN UNO)
var height_screen = (somefunction); var width_screen = (somefunction);
Hi! Currently I can’t think of any easy way. I’ve added a ticket for this feature.
You can however make your own custom Uno module and expose those functions to JS yourself:
https://www.fusetools.com/developers/guides/fusejs/nativemodules