Function script::dom::create::create_element

source ยท
pub fn create_element(
    name: QualName,
    is: Option<LocalName>,
    document: &Document,
    creator: ElementCreator,
    mode: CustomElementCreationMode,
    proto: Option<HandleObject<'_>>,
    can_gc: CanGc,
) -> Root<Dom<Element>>