pub fn init_browser_panic_hook()
Expand description
Initialize Rust panic handler in browser mode.
This will output additional debug information during a panic in the browser
by creating a full-screen DIV
. This is useful on mobile devices or where
the user otherwise has no access to console/developer tools. Use
{@link presentPanicHookLogs} to activate the panic logs in the
browser environment.
@see {@link presentPanicHookLogs}
@category General