glucose/document
Functions
pub fn append_child(node node: HTMLElement) -> HTMLElement
pub fn content_type() -> String
pub fn create_element(tag tag: String) -> HTMLElement
pub fn create_text_node(data data: String) -> HTMLElement
pub fn document_uri() -> String
pub fn get_cookie() -> String
pub fn get_selection() -> Result(HTMLElement, Nil)
pub fn query_selector(
selector selector: String,
) -> Result(HTMLElement, Nil)
Select the first element matching the selector string
pub fn query_selector_all(
selector selector: String,
) -> List(HTMLElement)
Select all elements matching the selector string
pub fn ready_state() -> String
pub fn set_cookie(v v: String) -> Nil
pub fn set_location(url url: String) -> Nil