[][src]Struct virtual_dom_rs::Document

#[repr(transparent)]
pub struct Document { /* fields omitted */ }

The Document object

MDN Documentation

This API requires the following crate features to be activated: Document

Methods

impl Document[src]

pub fn new() -> Result<Document, JsValue>[src]

The new Document(..) constructor, creating a new instance of Document

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn adopt_node(&self, node: &Node) -> Result<Node, JsValue>[src]

The adoptNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn create_comment(&self, data: &str) -> Comment[src]

The createComment() method

MDN Documentation

This API requires the following crate features to be activated: Comment, Document

impl Document[src]

pub fn create_element(&self, local_name: &str) -> Result<Element, JsValue>[src]

The createElement() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn create_element_with_str(
    &self,
    local_name: &str,
    options: &str
) -> Result<Element, JsValue>
[src]

The createElement() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn create_element_ns(
    &self,
    namespace: Option<&str>,
    qualified_name: &str
) -> Result<Element, JsValue>
[src]

The createElementNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn create_element_ns_with_str(
    &self,
    namespace: Option<&str>,
    qualified_name: &str,
    options: &str
) -> Result<Element, JsValue>
[src]

The createElementNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn create_event(&self, interface: &str) -> Result<Event, JsValue>[src]

The createEvent() method

MDN Documentation

This API requires the following crate features to be activated: Document, Event

impl Document[src]

pub fn create_text_node(&self, data: &str) -> Text[src]

The createTextNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Text

impl Document[src]

pub fn enable_style_sheets_for_set(&self, name: Option<&str>)[src]

The enableStyleSheetsForSet() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn exit_fullscreen(&self)[src]

The exitFullscreen() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn exit_pointer_lock(&self)[src]

The exitPointerLock() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn get_animations(&self) -> Array[src]

The getAnimations() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn get_element_by_id(&self, element_id: &str) -> Option<Element>[src]

The getElementById() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn get_elements_by_class_name(&self, class_names: &str) -> HtmlCollection[src]

The getElementsByClassName() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn get_elements_by_name(&self, element_name: &str) -> NodeList[src]

The getElementsByName() method

MDN Documentation

This API requires the following crate features to be activated: Document, NodeList

impl Document[src]

pub fn get_elements_by_tag_name(&self, local_name: &str) -> HtmlCollection[src]

The getElementsByTagName() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn get_elements_by_tag_name_ns(
    &self,
    namespace: Option<&str>,
    local_name: &str
) -> Result<HtmlCollection, JsValue>
[src]

The getElementsByTagNameNS() method

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn has_focus(&self) -> Result<bool, JsValue>[src]

The hasFocus() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn import_node(&self, node: &Node) -> Result<Node, JsValue>[src]

The importNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn import_node_with_deep(
    &self,
    node: &Node,
    deep: bool
) -> Result<Node, JsValue>
[src]

The importNode() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn query_selector(
    &self,
    selectors: &str
) -> Result<Option<Element>, JsValue>
[src]

The querySelector() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn query_selector_all(&self, selectors: &str) -> Result<NodeList, JsValue>[src]

The querySelectorAll() method

MDN Documentation

This API requires the following crate features to be activated: Document, NodeList

impl Document[src]

pub fn release_capture(&self)[src]

The releaseCapture() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn url(&self) -> Result<String, JsValue>[src]

The URL getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn document_uri(&self) -> Result<String, JsValue>[src]

The documentURI getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn compat_mode(&self) -> String[src]

The compatMode getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn character_set(&self) -> String[src]

The characterSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn charset(&self) -> String[src]

The charset getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn input_encoding(&self) -> String[src]

The inputEncoding getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn content_type(&self) -> String[src]

The contentType getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn document_element(&self) -> Option<Element>[src]

The documentElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn referrer(&self) -> String[src]

The referrer getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn last_modified(&self) -> String[src]

The lastModified getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ready_state(&self) -> String[src]

The readyState getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn title(&self) -> String[src]

The title getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_title(&self, title: &str)[src]

The title setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn dir(&self) -> String[src]

The dir getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_dir(&self, dir: &str)[src]

The dir setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn body(&self) -> Option<HtmlElement>[src]

The body getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlElement

impl Document[src]

pub fn set_body(&self, body: Option<&HtmlElement>)[src]

The body setter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlElement

impl Document[src]

pub fn images(&self) -> HtmlCollection[src]

The images getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn embeds(&self) -> HtmlCollection[src]

The embeds getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn plugins(&self) -> HtmlCollection[src]

The plugins getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

The links getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn forms(&self) -> HtmlCollection[src]

The forms getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn scripts(&self) -> HtmlCollection[src]

The scripts getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn default_view(&self) -> Option<Window>[src]

The defaultView getter

MDN Documentation

This API requires the following crate features to be activated: Document, Window

impl Document[src]

pub fn onreadystatechange(&self) -> Option<Function>[src]

The onreadystatechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)[src]

The onreadystatechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onbeforescriptexecute(&self) -> Option<Function>[src]

The onbeforescriptexecute getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onbeforescriptexecute(
    &self,
    onbeforescriptexecute: Option<&Function>
)
[src]

The onbeforescriptexecute setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onafterscriptexecute(&self) -> Option<Function>[src]

The onafterscriptexecute getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)[src]

The onafterscriptexecute setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onselectionchange(&self) -> Option<Function>[src]

The onselectionchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)[src]

The onselectionchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn current_script(&self) -> Option<Element>[src]

The currentScript getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn anchors(&self) -> HtmlCollection[src]

The anchors getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn applets(&self) -> HtmlCollection[src]

The applets getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn fullscreen(&self) -> bool[src]

The fullscreen getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn fullscreen_enabled(&self) -> bool[src]

The fullscreenEnabled getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onfullscreenchange(&self) -> Option<Function>[src]

The onfullscreenchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)[src]

The onfullscreenchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onfullscreenerror(&self) -> Option<Function>[src]

The onfullscreenerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)[src]

The onfullscreenerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerlockchange(&self) -> Option<Function>[src]

The onpointerlockchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)[src]

The onpointerlockchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerlockerror(&self) -> Option<Function>[src]

The onpointerlockerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)[src]

The onpointerlockerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn hidden(&self) -> bool[src]

The hidden getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onvisibilitychange(&self) -> Option<Function>[src]

The onvisibilitychange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)[src]

The onvisibilitychange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn selected_style_sheet_set(&self) -> Option<String>[src]

The selectedStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_selected_style_sheet_set(
    &self,
    selected_style_sheet_set: Option<&str>
)
[src]

The selectedStyleSheetSet setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn last_style_sheet_set(&self) -> Option<String>[src]

The lastStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn preferred_style_sheet_set(&self) -> Option<String>[src]

The preferredStyleSheetSet getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn scrolling_element(&self) -> Option<Element>[src]

The scrollingElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn oncopy(&self) -> Option<Function>[src]

The oncopy getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oncopy(&self, oncopy: Option<&Function>)[src]

The oncopy setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oncut(&self) -> Option<Function>[src]

The oncut getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oncut(&self, oncut: Option<&Function>)[src]

The oncut setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpaste(&self) -> Option<Function>[src]

The onpaste getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpaste(&self, onpaste: Option<&Function>)[src]

The onpaste setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn element_from_point(&self, x: f32, y: f32) -> Option<Element>[src]

The elementFromPoint() method

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn elements_from_point(&self, x: f32, y: f32) -> Array[src]

The elementsFromPoint() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn active_element(&self) -> Option<Element>[src]

The activeElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn pointer_lock_element(&self) -> Option<Element>[src]

The pointerLockElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn fullscreen_element(&self) -> Option<Element>[src]

The fullscreenElement getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn get_box_quads(&self) -> Result<Array, JsValue>[src]

The getBoxQuads() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onabort(&self) -> Option<Function>[src]

The onabort getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onabort(&self, onabort: Option<&Function>)[src]

The onabort setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onblur(&self) -> Option<Function>[src]

The onblur getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onblur(&self, onblur: Option<&Function>)[src]

The onblur setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onfocus(&self) -> Option<Function>[src]

The onfocus getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onfocus(&self, onfocus: Option<&Function>)[src]

The onfocus setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onauxclick(&self) -> Option<Function>[src]

The onauxclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onauxclick(&self, onauxclick: Option<&Function>)[src]

The onauxclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oncanplay(&self) -> Option<Function>[src]

The oncanplay getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oncanplay(&self, oncanplay: Option<&Function>)[src]

The oncanplay setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oncanplaythrough(&self) -> Option<Function>[src]

The oncanplaythrough getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)[src]

The oncanplaythrough setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onchange(&self) -> Option<Function>[src]

The onchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onchange(&self, onchange: Option<&Function>)[src]

The onchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onclick(&self) -> Option<Function>[src]

The onclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onclick(&self, onclick: Option<&Function>)[src]

The onclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onclose(&self) -> Option<Function>[src]

The onclose getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onclose(&self, onclose: Option<&Function>)[src]

The onclose setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oncontextmenu(&self) -> Option<Function>[src]

The oncontextmenu getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oncontextmenu(&self, oncontextmenu: Option<&Function>)[src]

The oncontextmenu setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondblclick(&self) -> Option<Function>[src]

The ondblclick getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondblclick(&self, ondblclick: Option<&Function>)[src]

The ondblclick setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondrag(&self) -> Option<Function>[src]

The ondrag getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondrag(&self, ondrag: Option<&Function>)[src]

The ondrag setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragend(&self) -> Option<Function>[src]

The ondragend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragend(&self, ondragend: Option<&Function>)[src]

The ondragend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragenter(&self) -> Option<Function>[src]

The ondragenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragenter(&self, ondragenter: Option<&Function>)[src]

The ondragenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragexit(&self) -> Option<Function>[src]

The ondragexit getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragexit(&self, ondragexit: Option<&Function>)[src]

The ondragexit setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragleave(&self) -> Option<Function>[src]

The ondragleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragleave(&self, ondragleave: Option<&Function>)[src]

The ondragleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragover(&self) -> Option<Function>[src]

The ondragover getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragover(&self, ondragover: Option<&Function>)[src]

The ondragover setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondragstart(&self) -> Option<Function>[src]

The ondragstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondragstart(&self, ondragstart: Option<&Function>)[src]

The ondragstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondrop(&self) -> Option<Function>[src]

The ondrop getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondrop(&self, ondrop: Option<&Function>)[src]

The ondrop setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ondurationchange(&self) -> Option<Function>[src]

The ondurationchange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)[src]

The ondurationchange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onemptied(&self) -> Option<Function>[src]

The onemptied getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onemptied(&self, onemptied: Option<&Function>)[src]

The onemptied setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onended(&self) -> Option<Function>[src]

The onended getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onended(&self, onended: Option<&Function>)[src]

The onended setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oninput(&self) -> Option<Function>[src]

The oninput getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oninput(&self, oninput: Option<&Function>)[src]

The oninput setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn oninvalid(&self) -> Option<Function>[src]

The oninvalid getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_oninvalid(&self, oninvalid: Option<&Function>)[src]

The oninvalid setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onkeydown(&self) -> Option<Function>[src]

The onkeydown getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onkeydown(&self, onkeydown: Option<&Function>)[src]

The onkeydown setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onkeypress(&self) -> Option<Function>[src]

The onkeypress getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onkeypress(&self, onkeypress: Option<&Function>)[src]

The onkeypress setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onkeyup(&self) -> Option<Function>[src]

The onkeyup getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onkeyup(&self, onkeyup: Option<&Function>)[src]

The onkeyup setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onload(&self) -> Option<Function>[src]

The onload getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onload(&self, onload: Option<&Function>)[src]

The onload setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onloadeddata(&self) -> Option<Function>[src]

The onloadeddata getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)[src]

The onloadeddata setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onloadedmetadata(&self) -> Option<Function>[src]

The onloadedmetadata getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)[src]

The onloadedmetadata setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onloadend(&self) -> Option<Function>[src]

The onloadend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onloadend(&self, onloadend: Option<&Function>)[src]

The onloadend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onloadstart(&self) -> Option<Function>[src]

The onloadstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onloadstart(&self, onloadstart: Option<&Function>)[src]

The onloadstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmousedown(&self) -> Option<Function>[src]

The onmousedown getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmousedown(&self, onmousedown: Option<&Function>)[src]

The onmousedown setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmouseenter(&self) -> Option<Function>[src]

The onmouseenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)[src]

The onmouseenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmouseleave(&self) -> Option<Function>[src]

The onmouseleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)[src]

The onmouseleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmousemove(&self) -> Option<Function>[src]

The onmousemove getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmousemove(&self, onmousemove: Option<&Function>)[src]

The onmousemove setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmouseout(&self) -> Option<Function>[src]

The onmouseout getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmouseout(&self, onmouseout: Option<&Function>)[src]

The onmouseout setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmouseover(&self) -> Option<Function>[src]

The onmouseover getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmouseover(&self, onmouseover: Option<&Function>)[src]

The onmouseover setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onmouseup(&self) -> Option<Function>[src]

The onmouseup getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onmouseup(&self, onmouseup: Option<&Function>)[src]

The onmouseup setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwheel(&self) -> Option<Function>[src]

The onwheel getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwheel(&self, onwheel: Option<&Function>)[src]

The onwheel setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpause(&self) -> Option<Function>[src]

The onpause getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpause(&self, onpause: Option<&Function>)[src]

The onpause setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onplay(&self) -> Option<Function>[src]

The onplay getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onplay(&self, onplay: Option<&Function>)[src]

The onplay setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onplaying(&self) -> Option<Function>[src]

The onplaying getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onplaying(&self, onplaying: Option<&Function>)[src]

The onplaying setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onprogress(&self) -> Option<Function>[src]

The onprogress getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onprogress(&self, onprogress: Option<&Function>)[src]

The onprogress setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onratechange(&self) -> Option<Function>[src]

The onratechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onratechange(&self, onratechange: Option<&Function>)[src]

The onratechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onreset(&self) -> Option<Function>[src]

The onreset getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onreset(&self, onreset: Option<&Function>)[src]

The onreset setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onresize(&self) -> Option<Function>[src]

The onresize getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onresize(&self, onresize: Option<&Function>)[src]

The onresize setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onscroll(&self) -> Option<Function>[src]

The onscroll getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onscroll(&self, onscroll: Option<&Function>)[src]

The onscroll setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onseeked(&self) -> Option<Function>[src]

The onseeked getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onseeked(&self, onseeked: Option<&Function>)[src]

The onseeked setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onseeking(&self) -> Option<Function>[src]

The onseeking getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onseeking(&self, onseeking: Option<&Function>)[src]

The onseeking setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onselect(&self) -> Option<Function>[src]

The onselect getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onselect(&self, onselect: Option<&Function>)[src]

The onselect setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onshow(&self) -> Option<Function>[src]

The onshow getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onshow(&self, onshow: Option<&Function>)[src]

The onshow setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onstalled(&self) -> Option<Function>[src]

The onstalled getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onstalled(&self, onstalled: Option<&Function>)[src]

The onstalled setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onsubmit(&self) -> Option<Function>[src]

The onsubmit getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onsubmit(&self, onsubmit: Option<&Function>)[src]

The onsubmit setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onsuspend(&self) -> Option<Function>[src]

The onsuspend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onsuspend(&self, onsuspend: Option<&Function>)[src]

The onsuspend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontimeupdate(&self) -> Option<Function>[src]

The ontimeupdate getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)[src]

The ontimeupdate setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onvolumechange(&self) -> Option<Function>[src]

The onvolumechange getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)[src]

The onvolumechange setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwaiting(&self) -> Option<Function>[src]

The onwaiting getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwaiting(&self, onwaiting: Option<&Function>)[src]

The onwaiting setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onselectstart(&self) -> Option<Function>[src]

The onselectstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onselectstart(&self, onselectstart: Option<&Function>)[src]

The onselectstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontoggle(&self) -> Option<Function>[src]

The ontoggle getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontoggle(&self, ontoggle: Option<&Function>)[src]

The ontoggle setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointercancel(&self) -> Option<Function>[src]

The onpointercancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)[src]

The onpointercancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerdown(&self) -> Option<Function>[src]

The onpointerdown getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)[src]

The onpointerdown setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerup(&self) -> Option<Function>[src]

The onpointerup getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerup(&self, onpointerup: Option<&Function>)[src]

The onpointerup setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointermove(&self) -> Option<Function>[src]

The onpointermove getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointermove(&self, onpointermove: Option<&Function>)[src]

The onpointermove setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerout(&self) -> Option<Function>[src]

The onpointerout getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerout(&self, onpointerout: Option<&Function>)[src]

The onpointerout setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerover(&self) -> Option<Function>[src]

The onpointerover getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerover(&self, onpointerover: Option<&Function>)[src]

The onpointerover setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerenter(&self) -> Option<Function>[src]

The onpointerenter getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)[src]

The onpointerenter setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onpointerleave(&self) -> Option<Function>[src]

The onpointerleave getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)[src]

The onpointerleave setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ongotpointercapture(&self) -> Option<Function>[src]

The ongotpointercapture getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)[src]

The ongotpointercapture setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onlostpointercapture(&self) -> Option<Function>[src]

The onlostpointercapture getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)[src]

The onlostpointercapture setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onanimationcancel(&self) -> Option<Function>[src]

The onanimationcancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)[src]

The onanimationcancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onanimationend(&self) -> Option<Function>[src]

The onanimationend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onanimationend(&self, onanimationend: Option<&Function>)[src]

The onanimationend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onanimationiteration(&self) -> Option<Function>[src]

The onanimationiteration getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)[src]

The onanimationiteration setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onanimationstart(&self) -> Option<Function>[src]

The onanimationstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)[src]

The onanimationstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontransitioncancel(&self) -> Option<Function>[src]

The ontransitioncancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)[src]

The ontransitioncancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontransitionend(&self) -> Option<Function>[src]

The ontransitionend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)[src]

The ontransitionend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontransitionrun(&self) -> Option<Function>[src]

The ontransitionrun getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)[src]

The ontransitionrun setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontransitionstart(&self) -> Option<Function>[src]

The ontransitionstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)[src]

The ontransitionstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwebkitanimationend(&self) -> Option<Function>[src]

The onwebkitanimationend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)[src]

The onwebkitanimationend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwebkitanimationiteration(&self) -> Option<Function>[src]

The onwebkitanimationiteration getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwebkitanimationiteration(
    &self,
    onwebkitanimationiteration: Option<&Function>
)
[src]

The onwebkitanimationiteration setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwebkitanimationstart(&self) -> Option<Function>[src]

The onwebkitanimationstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwebkitanimationstart(
    &self,
    onwebkitanimationstart: Option<&Function>
)
[src]

The onwebkitanimationstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onwebkittransitionend(&self) -> Option<Function>[src]

The onwebkittransitionend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onwebkittransitionend(
    &self,
    onwebkittransitionend: Option<&Function>
)
[src]

The onwebkittransitionend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn onerror(&self) -> Option<Function>[src]

The onerror getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_onerror(&self, onerror: Option<&Function>)[src]

The onerror setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_node(&self, nodes: &Array) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_node_0(&self) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_2(
    &self,
    nodes_1: &Node,
    nodes_2: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_3(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_4(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_5(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_6(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_node_7(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node,
    nodes_7: &Node
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn append_with_str(&self, nodes: &Array) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_0(&self) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_2(
    &self,
    nodes_1: &str,
    nodes_2: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_3(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_4(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_5(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_6(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn append_with_str_7(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str,
    nodes_7: &str
) -> Result<(), JsValue>
[src]

The append() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_node(&self, nodes: &Array) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_node_0(&self) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_2(
    &self,
    nodes_1: &Node,
    nodes_2: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_3(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_4(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_5(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_6(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_node_7(
    &self,
    nodes_1: &Node,
    nodes_2: &Node,
    nodes_3: &Node,
    nodes_4: &Node,
    nodes_5: &Node,
    nodes_6: &Node,
    nodes_7: &Node
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

impl Document[src]

pub fn prepend_with_str(&self, nodes: &Array) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_0(&self) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_2(
    &self,
    nodes_1: &str,
    nodes_2: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_3(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_4(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_5(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_6(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn prepend_with_str_7(
    &self,
    nodes_1: &str,
    nodes_2: &str,
    nodes_3: &str,
    nodes_4: &str,
    nodes_5: &str,
    nodes_6: &str,
    nodes_7: &str
) -> Result<(), JsValue>
[src]

The prepend() method

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn children(&self) -> HtmlCollection[src]

The children getter

MDN Documentation

This API requires the following crate features to be activated: Document, HtmlCollection

impl Document[src]

pub fn first_element_child(&self) -> Option<Element>[src]

The firstElementChild getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn last_element_child(&self) -> Option<Element>[src]

The lastElementChild getter

MDN Documentation

This API requires the following crate features to be activated: Document, Element

impl Document[src]

pub fn child_element_count(&self) -> u32[src]

The childElementCount getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontouchstart(&self) -> Option<Function>[src]

The ontouchstart getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)[src]

The ontouchstart setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontouchend(&self) -> Option<Function>[src]

The ontouchend getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontouchend(&self, ontouchend: Option<&Function>)[src]

The ontouchend setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontouchmove(&self) -> Option<Function>[src]

The ontouchmove getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)[src]

The ontouchmove setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn ontouchcancel(&self) -> Option<Function>[src]

The ontouchcancel getter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)[src]

The ontouchcancel setter

MDN Documentation

This API requires the following crate features to be activated: Document

impl Document[src]

pub fn create_ns_resolver(&self, node_resolver: &Node) -> Node[src]

The createNSResolver() method

MDN Documentation

This API requires the following crate features to be activated: Document, Node

Methods from Deref<Target = Node>

pub fn append_child(&self, node: &Node) -> Result<Node, JsValue>[src]

The appendChild() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn clone_node(&self) -> Result<Node, JsValue>[src]

The cloneNode() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn clone_node_with_deep(&self, deep: bool) -> Result<Node, JsValue>[src]

The cloneNode() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn compare_document_position(&self, other: &Node) -> u16[src]

The compareDocumentPosition() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn contains(&self, other: Option<&Node>) -> bool[src]

The contains() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn get_root_node(&self) -> Node[src]

The getRootNode() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn has_child_nodes(&self) -> bool[src]

The hasChildNodes() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn insert_before(
    &self,
    node: &Node,
    child: Option<&Node>
) -> Result<Node, JsValue>
[src]

The insertBefore() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn is_default_namespace(&self, namespace: Option<&str>) -> bool[src]

The isDefaultNamespace() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn is_equal_node(&self, node: Option<&Node>) -> bool[src]

The isEqualNode() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn is_same_node(&self, node: Option<&Node>) -> bool[src]

The isSameNode() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>[src]

The lookupNamespaceURI() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn lookup_prefix(&self, namespace: Option<&str>) -> Option<String>[src]

The lookupPrefix() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn normalize(&self)[src]

The normalize() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn remove_child(&self, child: &Node) -> Result<Node, JsValue>[src]

The removeChild() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn replace_child(&self, node: &Node, child: &Node) -> Result<Node, JsValue>[src]

The replaceChild() method

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn node_type(&self) -> u16[src]

The nodeType getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn node_name(&self) -> String[src]

The nodeName getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn base_uri(&self) -> Result<Option<String>, JsValue>[src]

The baseURI getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn is_connected(&self) -> bool[src]

The isConnected getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn owner_document(&self) -> Option<Document>[src]

The ownerDocument getter

MDN Documentation

This API requires the following crate features to be activated: Document, Node

pub fn parent_node(&self) -> Option<Node>[src]

The parentNode getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn parent_element(&self) -> Option<Element>[src]

The parentElement getter

MDN Documentation

This API requires the following crate features to be activated: Element, Node

pub fn child_nodes(&self) -> NodeList[src]

The childNodes getter

MDN Documentation

This API requires the following crate features to be activated: Node, NodeList

pub fn first_child(&self) -> Option<Node>[src]

The firstChild getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn last_child(&self) -> Option<Node>[src]

The lastChild getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn previous_sibling(&self) -> Option<Node>[src]

The previousSibling getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn next_sibling(&self) -> Option<Node>[src]

The nextSibling getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn node_value(&self) -> Option<String>[src]

The nodeValue getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn set_node_value(&self, node_value: Option<&str>)[src]

The nodeValue setter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn text_content(&self) -> Option<String>[src]

The textContent getter

MDN Documentation

This API requires the following crate features to be activated: Node

pub fn set_text_content(&self, text_content: Option<&str>)[src]

The textContent setter

MDN Documentation

This API requires the following crate features to be activated: Node

pub const TEXT_NODE: u16[src]

Trait Implementations

impl From<Document> for EventTarget[src]

impl From<Document> for JsValue[src]

impl From<Document> for Object[src]

impl From<JsValue> for Document[src]

impl From<Document> for Node[src]

impl OptionIntoWasmAbi for Document[src]

impl<'a> OptionIntoWasmAbi for &'a Document[src]

impl Debug for Document[src]

impl OptionFromWasmAbi for Document[src]

impl Deref for Document[src]

type Target = Node

The resulting type after dereferencing.

impl JsCast for Document[src]

fn has_type<T>(&self) -> bool where
    T: JsCast
[src]

Test whether this JS value has a type T. Read more

fn dyn_into<T>(self) -> Result<T, Self> where
    T: JsCast
[src]

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

fn dyn_ref<T>(&self) -> Option<&T> where
    T: JsCast
[src]

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

fn unchecked_into<T>(self) -> T where
    T: JsCast
[src]

Performs a zero-cost unchecked cast into the specified type. Read more

fn unchecked_ref<T>(&self) -> &T where
    T: JsCast
[src]

Performs a zero-cost unchecked cast into a reference to the specified type. Read more

fn is_instance_of<T>(&self) -> bool where
    T: JsCast
[src]

Test whether this JS value is an instance of the type T. Read more

fn is_type_of(val: &JsValue) -> bool[src]

Performs a dynamic check to see whether the JsValue provided is a value of this type. Read more

impl Clone for Document[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl RefFromWasmAbi for Document[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<Document>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl AsRef<Node> for Document[src]

impl AsRef<JsValue> for Document[src]

impl AsRef<EventTarget> for Document[src]

impl AsRef<Document> for Document[src]

impl AsRef<Object> for Document[src]

impl FromWasmAbi for Document[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a Document[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl IntoWasmAbi for Document[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

Auto Trait Implementations

impl !Sync for Document

impl !Send for Document

impl Unpin for Document

impl RefUnwindSafe for Document

impl UnwindSafe for Document

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi