pub fn set_window_title<T>(title: T)
Expand description
Sets the window title, using the emscripten-defined emscripten_set_window_title
.
§Arguments
title
- The new title
§Examples
set_window_title("My Web App");
set_window_title(format!("My app {} u", 3 + 1));