I am trying to open a web page when clicking a link with a hashlink app. Is that possible? If yes, how?
Thank you!
I am trying to open a web page when clicking a link with a hashlink app. Is that possible? If yes, how?
Thank you!
Did you try h2d.HtmlText
?
Edit: You still can do Sys.command( 'start $yourUrl' )
on Windows. I have no idea about other OS, and I’m not sure how reliable this is.
https://github.com/HeapsIO/heaps/pull/756 this merge request added a hxd.System.openURL(url)
, which basically runs the command listed above, except it should work on windows, linux, and mac.