sycamore::web::js_sys

Function decode_uri_component

source
pub fn decode_uri_component(encoded: &str) -> Result<JsString, JsValue>
Expand description

The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.

MDN documentation