0

openURL

To convert a string to a link and open it in the standard web browser

With this function, you can open a website in your default browser. You can pass any string, the function will encode it to make sure it's a valid link.

❗ The function can be executed only on the client. Learn more about execution context

Syntax

openURL(string)

Return

void

Examples

openURL(link) To convert a string to a link and open it in the standard web browser.

openURL("https://google.de/maps/place/Monbijouplatz 5, 10178 Berlin")

Result: Google Maps will open and show the Ninox office.

See also

html, which returns a rich text representation of any value.

http, which sends an HTTP request.

Reply

null