pub fn location() -> Result<Location, JsValue>Expand description
Return the global web_sys::Location object, resolving it from the
JavaScript global scope (works in both window and worker contexts).
pub fn location() -> Result<Location, JsValue>Return the global web_sys::Location object, resolving it from the
JavaScript global scope (works in both window and worker contexts).