Skip to main content

open_url

Function open_url 

Source
pub(crate) fn open_url(url: &OpenUrl)
Expand description

Open a URL the UI asked for, in a new tab when it asked for one.

The UI cannot open it itself: a panel runs while the world is borrowed and has no page to reach, so it publishes the request in the world and the frame loop serves it here — the same split the fullscreen request follows. One call covers every platform the example builds for.