Function create_element_in_head

Source
pub fn create_element_in_head(
    tag: &str,
    attributes: &[(&str, String)],
    children: Option<String>,
) -> String
Expand description

Create a new element in the head with javascript through the Document::eval method

This can be used to implement the head element creation logic for most Document implementations.