script::dom::create

Function create_svg_element

source
fn create_svg_element(
    name: QualName,
    prefix: Option<Prefix>,
    document: &Document,
    proto: Option<HandleObject<'_>>,
) -> Root<Dom<Element>>