[−][src]Struct web_sys::Document
The Document
object
This API requires the following crate features to be activated: Document
Methods
impl Document
[src]
impl Document
pub fn new() -> Result<Document, JsValue>
[src]
pub fn new() -> Result<Document, JsValue>
The new Document(..)
constructor, creating a new instance of Document
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn adopt_node(&self, node: &Node) -> Result<Node, JsValue>
[src]
pub fn adopt_node(&self, node: &Node) -> Result<Node, JsValue>
The adoptNode()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn create_document_fragment(&self) -> DocumentFragment
[src]
pub fn create_document_fragment(&self) -> DocumentFragment
The createDocumentFragment()
method
This API requires the following crate features to be activated: Document
, DocumentFragment
impl Document
[src]
impl Document
pub fn create_element(&self, local_name: &str) -> Result<Element, JsValue>
[src]
pub fn create_element(&self, local_name: &str) -> Result<Element, JsValue>
The createElement()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn create_element_with_str(
&self,
local_name: &str,
options: &str
) -> Result<Element, JsValue>
[src]
pub fn create_element_with_str(
&self,
local_name: &str,
options: &str
) -> Result<Element, JsValue>
The createElement()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn create_element_ns(
&self,
namespace: Option<&str>,
qualified_name: &str
) -> Result<Element, JsValue>
[src]
pub fn create_element_ns(
&self,
namespace: Option<&str>,
qualified_name: &str
) -> Result<Element, JsValue>
The createElementNS()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn create_element_ns_with_str(
&self,
namespace: Option<&str>,
qualified_name: &str,
options: &str
) -> Result<Element, JsValue>
[src]
pub fn create_element_ns_with_str(
&self,
namespace: Option<&str>,
qualified_name: &str,
options: &str
) -> Result<Element, JsValue>
The createElementNS()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn create_event(&self, interface: &str) -> Result<Event, JsValue>
[src]
pub fn create_event(&self, interface: &str) -> Result<Event, JsValue>
The createEvent()
method
This API requires the following crate features to be activated: Document
, Event
impl Document
[src]
impl Document
pub fn enable_style_sheets_for_set(&self, name: Option<&str>)
[src]
pub fn enable_style_sheets_for_set(&self, name: Option<&str>)
The enableStyleSheetsForSet()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn exit_fullscreen(&self)
[src]
pub fn exit_fullscreen(&self)
The exitFullscreen()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn exit_pointer_lock(&self)
[src]
pub fn exit_pointer_lock(&self)
The exitPointerLock()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn get_animations(&self) -> Array
[src]
pub fn get_animations(&self) -> Array
The getAnimations()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn get_element_by_id(&self, element_id: &str) -> Option<Element>
[src]
pub fn get_element_by_id(&self, element_id: &str) -> Option<Element>
The getElementById()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn get_elements_by_class_name(&self, class_names: &str) -> HtmlCollection
[src]
pub fn get_elements_by_class_name(&self, class_names: &str) -> HtmlCollection
The getElementsByClassName()
method
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn get_elements_by_name(&self, element_name: &str) -> NodeList
[src]
pub fn get_elements_by_name(&self, element_name: &str) -> NodeList
The getElementsByName()
method
This API requires the following crate features to be activated: Document
, NodeList
impl Document
[src]
impl Document
pub fn get_elements_by_tag_name(&self, local_name: &str) -> HtmlCollection
[src]
pub fn get_elements_by_tag_name(&self, local_name: &str) -> HtmlCollection
The getElementsByTagName()
method
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn get_elements_by_tag_name_ns(
&self,
namespace: Option<&str>,
local_name: &str
) -> Result<HtmlCollection, JsValue>
[src]
pub fn get_elements_by_tag_name_ns(
&self,
namespace: Option<&str>,
local_name: &str
) -> Result<HtmlCollection, JsValue>
The getElementsByTagNameNS()
method
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn has_focus(&self) -> Result<bool, JsValue>
[src]
pub fn has_focus(&self) -> Result<bool, JsValue>
The hasFocus()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn import_node(&self, node: &Node) -> Result<Node, JsValue>
[src]
pub fn import_node(&self, node: &Node) -> Result<Node, JsValue>
The importNode()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn import_node_with_deep(
&self,
node: &Node,
deep: bool
) -> Result<Node, JsValue>
[src]
pub fn import_node_with_deep(
&self,
node: &Node,
deep: bool
) -> Result<Node, JsValue>
The importNode()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn query_selector(
&self,
selectors: &str
) -> Result<Option<Element>, JsValue>
[src]
pub fn query_selector(
&self,
selectors: &str
) -> Result<Option<Element>, JsValue>
The querySelector()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn query_selector_all(&self, selectors: &str) -> Result<NodeList, JsValue>
[src]
pub fn query_selector_all(&self, selectors: &str) -> Result<NodeList, JsValue>
The querySelectorAll()
method
This API requires the following crate features to be activated: Document
, NodeList
impl Document
[src]
impl Document
pub fn release_capture(&self)
[src]
pub fn release_capture(&self)
The releaseCapture()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn url(&self) -> Result<String, JsValue>
[src]
pub fn url(&self) -> Result<String, JsValue>
The URL
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn document_uri(&self) -> Result<String, JsValue>
[src]
pub fn document_uri(&self) -> Result<String, JsValue>
The documentURI
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn compat_mode(&self) -> String
[src]
pub fn compat_mode(&self) -> String
The compatMode
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn character_set(&self) -> String
[src]
pub fn character_set(&self) -> String
The characterSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn charset(&self) -> String
[src]
pub fn charset(&self) -> String
The charset
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn input_encoding(&self) -> String
[src]
pub fn input_encoding(&self) -> String
The inputEncoding
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn content_type(&self) -> String
[src]
pub fn content_type(&self) -> String
The contentType
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn document_element(&self) -> Option<Element>
[src]
pub fn document_element(&self) -> Option<Element>
The documentElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn referrer(&self) -> String
[src]
pub fn referrer(&self) -> String
The referrer
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn last_modified(&self) -> String
[src]
pub fn last_modified(&self) -> String
The lastModified
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ready_state(&self) -> String
[src]
pub fn ready_state(&self) -> String
The readyState
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn title(&self) -> String
[src]
pub fn title(&self) -> String
The title
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_title(&self, title: &str)
[src]
pub fn set_title(&self, title: &str)
The title
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn dir(&self) -> String
[src]
pub fn dir(&self) -> String
The dir
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_dir(&self, dir: &str)
[src]
pub fn set_dir(&self, dir: &str)
The dir
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn body(&self) -> Option<HtmlElement>
[src]
pub fn body(&self) -> Option<HtmlElement>
The body
getter
This API requires the following crate features to be activated: Document
, HtmlElement
impl Document
[src]
impl Document
pub fn set_body(&self, body: Option<&HtmlElement>)
[src]
pub fn set_body(&self, body: Option<&HtmlElement>)
The body
setter
This API requires the following crate features to be activated: Document
, HtmlElement
impl Document
[src]
impl Document
pub fn images(&self) -> HtmlCollection
[src]
pub fn images(&self) -> HtmlCollection
The images
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn embeds(&self) -> HtmlCollection
[src]
pub fn embeds(&self) -> HtmlCollection
The embeds
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn plugins(&self) -> HtmlCollection
[src]
pub fn plugins(&self) -> HtmlCollection
The plugins
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn links(&self) -> HtmlCollection
[src]
pub fn links(&self) -> HtmlCollection
The links
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn forms(&self) -> HtmlCollection
[src]
pub fn forms(&self) -> HtmlCollection
The forms
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn scripts(&self) -> HtmlCollection
[src]
pub fn scripts(&self) -> HtmlCollection
The scripts
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn default_view(&self) -> Option<Window>
[src]
pub fn default_view(&self) -> Option<Window>
The defaultView
getter
This API requires the following crate features to be activated: Document
, Window
impl Document
[src]
impl Document
pub fn onreadystatechange(&self) -> Option<Function>
[src]
pub fn onreadystatechange(&self) -> Option<Function>
The onreadystatechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)
[src]
pub fn set_onreadystatechange(&self, onreadystatechange: Option<&Function>)
The onreadystatechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onbeforescriptexecute(&self) -> Option<Function>
[src]
pub fn onbeforescriptexecute(&self) -> Option<Function>
The onbeforescriptexecute
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onbeforescriptexecute(
&self,
onbeforescriptexecute: Option<&Function>
)
[src]
pub fn set_onbeforescriptexecute(
&self,
onbeforescriptexecute: Option<&Function>
)
The onbeforescriptexecute
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onafterscriptexecute(&self) -> Option<Function>
[src]
pub fn onafterscriptexecute(&self) -> Option<Function>
The onafterscriptexecute
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)
[src]
pub fn set_onafterscriptexecute(&self, onafterscriptexecute: Option<&Function>)
The onafterscriptexecute
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onselectionchange(&self) -> Option<Function>
[src]
pub fn onselectionchange(&self) -> Option<Function>
The onselectionchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)
[src]
pub fn set_onselectionchange(&self, onselectionchange: Option<&Function>)
The onselectionchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn current_script(&self) -> Option<Element>
[src]
pub fn current_script(&self) -> Option<Element>
The currentScript
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn anchors(&self) -> HtmlCollection
[src]
pub fn anchors(&self) -> HtmlCollection
The anchors
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn applets(&self) -> HtmlCollection
[src]
pub fn applets(&self) -> HtmlCollection
The applets
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn fullscreen(&self) -> bool
[src]
pub fn fullscreen(&self) -> bool
The fullscreen
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn fullscreen_enabled(&self) -> bool
[src]
pub fn fullscreen_enabled(&self) -> bool
The fullscreenEnabled
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onfullscreenchange(&self) -> Option<Function>
[src]
pub fn onfullscreenchange(&self) -> Option<Function>
The onfullscreenchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)
[src]
pub fn set_onfullscreenchange(&self, onfullscreenchange: Option<&Function>)
The onfullscreenchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onfullscreenerror(&self) -> Option<Function>
[src]
pub fn onfullscreenerror(&self) -> Option<Function>
The onfullscreenerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)
[src]
pub fn set_onfullscreenerror(&self, onfullscreenerror: Option<&Function>)
The onfullscreenerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerlockchange(&self) -> Option<Function>
[src]
pub fn onpointerlockchange(&self) -> Option<Function>
The onpointerlockchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)
[src]
pub fn set_onpointerlockchange(&self, onpointerlockchange: Option<&Function>)
The onpointerlockchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerlockerror(&self) -> Option<Function>
[src]
pub fn onpointerlockerror(&self) -> Option<Function>
The onpointerlockerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)
[src]
pub fn set_onpointerlockerror(&self, onpointerlockerror: Option<&Function>)
The onpointerlockerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
The hidden
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onvisibilitychange(&self) -> Option<Function>
[src]
pub fn onvisibilitychange(&self) -> Option<Function>
The onvisibilitychange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)
[src]
pub fn set_onvisibilitychange(&self, onvisibilitychange: Option<&Function>)
The onvisibilitychange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn selected_style_sheet_set(&self) -> Option<String>
[src]
pub fn selected_style_sheet_set(&self) -> Option<String>
The selectedStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_selected_style_sheet_set(
&self,
selected_style_sheet_set: Option<&str>
)
[src]
pub fn set_selected_style_sheet_set(
&self,
selected_style_sheet_set: Option<&str>
)
The selectedStyleSheetSet
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn last_style_sheet_set(&self) -> Option<String>
[src]
pub fn last_style_sheet_set(&self) -> Option<String>
The lastStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn preferred_style_sheet_set(&self) -> Option<String>
[src]
pub fn preferred_style_sheet_set(&self) -> Option<String>
The preferredStyleSheetSet
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn scrolling_element(&self) -> Option<Element>
[src]
pub fn scrolling_element(&self) -> Option<Element>
The scrollingElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn oncopy(&self) -> Option<Function>
[src]
pub fn oncopy(&self) -> Option<Function>
The oncopy
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oncopy(&self, oncopy: Option<&Function>)
[src]
pub fn set_oncopy(&self, oncopy: Option<&Function>)
The oncopy
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn oncut(&self) -> Option<Function>
[src]
pub fn oncut(&self) -> Option<Function>
The oncut
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oncut(&self, oncut: Option<&Function>)
[src]
pub fn set_oncut(&self, oncut: Option<&Function>)
The oncut
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpaste(&self) -> Option<Function>
[src]
pub fn onpaste(&self) -> Option<Function>
The onpaste
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpaste(&self, onpaste: Option<&Function>)
[src]
pub fn set_onpaste(&self, onpaste: Option<&Function>)
The onpaste
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn element_from_point(&self, x: f32, y: f32) -> Option<Element>
[src]
pub fn element_from_point(&self, x: f32, y: f32) -> Option<Element>
The elementFromPoint()
method
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn elements_from_point(&self, x: f32, y: f32) -> Array
[src]
pub fn elements_from_point(&self, x: f32, y: f32) -> Array
The elementsFromPoint()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn active_element(&self) -> Option<Element>
[src]
pub fn active_element(&self) -> Option<Element>
The activeElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn pointer_lock_element(&self) -> Option<Element>
[src]
pub fn pointer_lock_element(&self) -> Option<Element>
The pointerLockElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn fullscreen_element(&self) -> Option<Element>
[src]
pub fn fullscreen_element(&self) -> Option<Element>
The fullscreenElement
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn get_box_quads(&self) -> Result<Array, JsValue>
[src]
pub fn get_box_quads(&self) -> Result<Array, JsValue>
The getBoxQuads()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onabort(&self) -> Option<Function>
[src]
pub fn onabort(&self) -> Option<Function>
The onabort
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onabort(&self, onabort: Option<&Function>)
[src]
pub fn set_onabort(&self, onabort: Option<&Function>)
The onabort
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onblur(&self) -> Option<Function>
[src]
pub fn onblur(&self) -> Option<Function>
The onblur
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onblur(&self, onblur: Option<&Function>)
[src]
pub fn set_onblur(&self, onblur: Option<&Function>)
The onblur
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onfocus(&self) -> Option<Function>
[src]
pub fn onfocus(&self) -> Option<Function>
The onfocus
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onfocus(&self, onfocus: Option<&Function>)
[src]
pub fn set_onfocus(&self, onfocus: Option<&Function>)
The onfocus
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onauxclick(&self) -> Option<Function>
[src]
pub fn onauxclick(&self) -> Option<Function>
The onauxclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onauxclick(&self, onauxclick: Option<&Function>)
[src]
pub fn set_onauxclick(&self, onauxclick: Option<&Function>)
The onauxclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn oncanplay(&self) -> Option<Function>
[src]
pub fn oncanplay(&self) -> Option<Function>
The oncanplay
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oncanplay(&self, oncanplay: Option<&Function>)
[src]
pub fn set_oncanplay(&self, oncanplay: Option<&Function>)
The oncanplay
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn oncanplaythrough(&self) -> Option<Function>
[src]
pub fn oncanplaythrough(&self) -> Option<Function>
The oncanplaythrough
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)
[src]
pub fn set_oncanplaythrough(&self, oncanplaythrough: Option<&Function>)
The oncanplaythrough
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onchange(&self) -> Option<Function>
[src]
pub fn onchange(&self) -> Option<Function>
The onchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onchange(&self, onchange: Option<&Function>)
[src]
pub fn set_onchange(&self, onchange: Option<&Function>)
The onchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onclick(&self) -> Option<Function>
[src]
pub fn onclick(&self) -> Option<Function>
The onclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onclick(&self, onclick: Option<&Function>)
[src]
pub fn set_onclick(&self, onclick: Option<&Function>)
The onclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onclose(&self) -> Option<Function>
[src]
pub fn onclose(&self) -> Option<Function>
The onclose
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onclose(&self, onclose: Option<&Function>)
[src]
pub fn set_onclose(&self, onclose: Option<&Function>)
The onclose
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
The oncontextmenu
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
The oncontextmenu
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondblclick(&self) -> Option<Function>
[src]
pub fn ondblclick(&self) -> Option<Function>
The ondblclick
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondblclick(&self, ondblclick: Option<&Function>)
[src]
pub fn set_ondblclick(&self, ondblclick: Option<&Function>)
The ondblclick
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondrag(&self) -> Option<Function>
[src]
pub fn ondrag(&self) -> Option<Function>
The ondrag
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondrag(&self, ondrag: Option<&Function>)
[src]
pub fn set_ondrag(&self, ondrag: Option<&Function>)
The ondrag
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragend(&self) -> Option<Function>
[src]
pub fn ondragend(&self) -> Option<Function>
The ondragend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragend(&self, ondragend: Option<&Function>)
[src]
pub fn set_ondragend(&self, ondragend: Option<&Function>)
The ondragend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragenter(&self) -> Option<Function>
[src]
pub fn ondragenter(&self) -> Option<Function>
The ondragenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragenter(&self, ondragenter: Option<&Function>)
[src]
pub fn set_ondragenter(&self, ondragenter: Option<&Function>)
The ondragenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragexit(&self) -> Option<Function>
[src]
pub fn ondragexit(&self) -> Option<Function>
The ondragexit
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragexit(&self, ondragexit: Option<&Function>)
[src]
pub fn set_ondragexit(&self, ondragexit: Option<&Function>)
The ondragexit
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragleave(&self) -> Option<Function>
[src]
pub fn ondragleave(&self) -> Option<Function>
The ondragleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragleave(&self, ondragleave: Option<&Function>)
[src]
pub fn set_ondragleave(&self, ondragleave: Option<&Function>)
The ondragleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragover(&self) -> Option<Function>
[src]
pub fn ondragover(&self) -> Option<Function>
The ondragover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragover(&self, ondragover: Option<&Function>)
[src]
pub fn set_ondragover(&self, ondragover: Option<&Function>)
The ondragover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondragstart(&self) -> Option<Function>
[src]
pub fn ondragstart(&self) -> Option<Function>
The ondragstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondragstart(&self, ondragstart: Option<&Function>)
[src]
pub fn set_ondragstart(&self, ondragstart: Option<&Function>)
The ondragstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondrop(&self) -> Option<Function>
[src]
pub fn ondrop(&self) -> Option<Function>
The ondrop
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondrop(&self, ondrop: Option<&Function>)
[src]
pub fn set_ondrop(&self, ondrop: Option<&Function>)
The ondrop
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ondurationchange(&self) -> Option<Function>
[src]
pub fn ondurationchange(&self) -> Option<Function>
The ondurationchange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)
[src]
pub fn set_ondurationchange(&self, ondurationchange: Option<&Function>)
The ondurationchange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onemptied(&self) -> Option<Function>
[src]
pub fn onemptied(&self) -> Option<Function>
The onemptied
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onemptied(&self, onemptied: Option<&Function>)
[src]
pub fn set_onemptied(&self, onemptied: Option<&Function>)
The onemptied
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onended(&self) -> Option<Function>
[src]
pub fn onended(&self) -> Option<Function>
The onended
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onended(&self, onended: Option<&Function>)
[src]
pub fn set_onended(&self, onended: Option<&Function>)
The onended
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn oninput(&self) -> Option<Function>
[src]
pub fn oninput(&self) -> Option<Function>
The oninput
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oninput(&self, oninput: Option<&Function>)
[src]
pub fn set_oninput(&self, oninput: Option<&Function>)
The oninput
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn oninvalid(&self) -> Option<Function>
[src]
pub fn oninvalid(&self) -> Option<Function>
The oninvalid
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_oninvalid(&self, oninvalid: Option<&Function>)
[src]
pub fn set_oninvalid(&self, oninvalid: Option<&Function>)
The oninvalid
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onkeydown(&self) -> Option<Function>
[src]
pub fn onkeydown(&self) -> Option<Function>
The onkeydown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onkeydown(&self, onkeydown: Option<&Function>)
[src]
pub fn set_onkeydown(&self, onkeydown: Option<&Function>)
The onkeydown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onkeypress(&self) -> Option<Function>
[src]
pub fn onkeypress(&self) -> Option<Function>
The onkeypress
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onkeypress(&self, onkeypress: Option<&Function>)
[src]
pub fn set_onkeypress(&self, onkeypress: Option<&Function>)
The onkeypress
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onkeyup(&self) -> Option<Function>
[src]
pub fn onkeyup(&self) -> Option<Function>
The onkeyup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onkeyup(&self, onkeyup: Option<&Function>)
[src]
pub fn set_onkeyup(&self, onkeyup: Option<&Function>)
The onkeyup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onload(&self) -> Option<Function>
[src]
pub fn onload(&self) -> Option<Function>
The onload
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onload(&self, onload: Option<&Function>)
[src]
pub fn set_onload(&self, onload: Option<&Function>)
The onload
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onloadeddata(&self) -> Option<Function>
[src]
pub fn onloadeddata(&self) -> Option<Function>
The onloadeddata
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)
[src]
pub fn set_onloadeddata(&self, onloadeddata: Option<&Function>)
The onloadeddata
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onloadedmetadata(&self) -> Option<Function>
[src]
pub fn onloadedmetadata(&self) -> Option<Function>
The onloadedmetadata
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)
[src]
pub fn set_onloadedmetadata(&self, onloadedmetadata: Option<&Function>)
The onloadedmetadata
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onloadend(&self) -> Option<Function>
[src]
pub fn onloadend(&self) -> Option<Function>
The onloadend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onloadend(&self, onloadend: Option<&Function>)
[src]
pub fn set_onloadend(&self, onloadend: Option<&Function>)
The onloadend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onloadstart(&self) -> Option<Function>
[src]
pub fn onloadstart(&self) -> Option<Function>
The onloadstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onloadstart(&self, onloadstart: Option<&Function>)
[src]
pub fn set_onloadstart(&self, onloadstart: Option<&Function>)
The onloadstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmousedown(&self) -> Option<Function>
[src]
pub fn onmousedown(&self) -> Option<Function>
The onmousedown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmousedown(&self, onmousedown: Option<&Function>)
[src]
pub fn set_onmousedown(&self, onmousedown: Option<&Function>)
The onmousedown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmouseenter(&self) -> Option<Function>
[src]
pub fn onmouseenter(&self) -> Option<Function>
The onmouseenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)
[src]
pub fn set_onmouseenter(&self, onmouseenter: Option<&Function>)
The onmouseenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmouseleave(&self) -> Option<Function>
[src]
pub fn onmouseleave(&self) -> Option<Function>
The onmouseleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)
[src]
pub fn set_onmouseleave(&self, onmouseleave: Option<&Function>)
The onmouseleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmousemove(&self) -> Option<Function>
[src]
pub fn onmousemove(&self) -> Option<Function>
The onmousemove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmousemove(&self, onmousemove: Option<&Function>)
[src]
pub fn set_onmousemove(&self, onmousemove: Option<&Function>)
The onmousemove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmouseout(&self) -> Option<Function>
[src]
pub fn onmouseout(&self) -> Option<Function>
The onmouseout
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmouseout(&self, onmouseout: Option<&Function>)
[src]
pub fn set_onmouseout(&self, onmouseout: Option<&Function>)
The onmouseout
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmouseover(&self) -> Option<Function>
[src]
pub fn onmouseover(&self) -> Option<Function>
The onmouseover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmouseover(&self, onmouseover: Option<&Function>)
[src]
pub fn set_onmouseover(&self, onmouseover: Option<&Function>)
The onmouseover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onmouseup(&self) -> Option<Function>
[src]
pub fn onmouseup(&self) -> Option<Function>
The onmouseup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onmouseup(&self, onmouseup: Option<&Function>)
[src]
pub fn set_onmouseup(&self, onmouseup: Option<&Function>)
The onmouseup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwheel(&self) -> Option<Function>
[src]
pub fn onwheel(&self) -> Option<Function>
The onwheel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwheel(&self, onwheel: Option<&Function>)
[src]
pub fn set_onwheel(&self, onwheel: Option<&Function>)
The onwheel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpause(&self) -> Option<Function>
[src]
pub fn onpause(&self) -> Option<Function>
The onpause
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpause(&self, onpause: Option<&Function>)
[src]
pub fn set_onpause(&self, onpause: Option<&Function>)
The onpause
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onplay(&self) -> Option<Function>
[src]
pub fn onplay(&self) -> Option<Function>
The onplay
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onplay(&self, onplay: Option<&Function>)
[src]
pub fn set_onplay(&self, onplay: Option<&Function>)
The onplay
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onplaying(&self) -> Option<Function>
[src]
pub fn onplaying(&self) -> Option<Function>
The onplaying
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onplaying(&self, onplaying: Option<&Function>)
[src]
pub fn set_onplaying(&self, onplaying: Option<&Function>)
The onplaying
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onprogress(&self) -> Option<Function>
[src]
pub fn onprogress(&self) -> Option<Function>
The onprogress
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onprogress(&self, onprogress: Option<&Function>)
[src]
pub fn set_onprogress(&self, onprogress: Option<&Function>)
The onprogress
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onratechange(&self) -> Option<Function>
[src]
pub fn onratechange(&self) -> Option<Function>
The onratechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onratechange(&self, onratechange: Option<&Function>)
[src]
pub fn set_onratechange(&self, onratechange: Option<&Function>)
The onratechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onreset(&self) -> Option<Function>
[src]
pub fn onreset(&self) -> Option<Function>
The onreset
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onreset(&self, onreset: Option<&Function>)
[src]
pub fn set_onreset(&self, onreset: Option<&Function>)
The onreset
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onresize(&self) -> Option<Function>
[src]
pub fn onresize(&self) -> Option<Function>
The onresize
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onresize(&self, onresize: Option<&Function>)
[src]
pub fn set_onresize(&self, onresize: Option<&Function>)
The onresize
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onscroll(&self) -> Option<Function>
[src]
pub fn onscroll(&self) -> Option<Function>
The onscroll
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onscroll(&self, onscroll: Option<&Function>)
[src]
pub fn set_onscroll(&self, onscroll: Option<&Function>)
The onscroll
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onseeked(&self) -> Option<Function>
[src]
pub fn onseeked(&self) -> Option<Function>
The onseeked
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onseeked(&self, onseeked: Option<&Function>)
[src]
pub fn set_onseeked(&self, onseeked: Option<&Function>)
The onseeked
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onseeking(&self) -> Option<Function>
[src]
pub fn onseeking(&self) -> Option<Function>
The onseeking
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onseeking(&self, onseeking: Option<&Function>)
[src]
pub fn set_onseeking(&self, onseeking: Option<&Function>)
The onseeking
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onselect(&self) -> Option<Function>
[src]
pub fn onselect(&self) -> Option<Function>
The onselect
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onselect(&self, onselect: Option<&Function>)
[src]
pub fn set_onselect(&self, onselect: Option<&Function>)
The onselect
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onshow(&self) -> Option<Function>
[src]
pub fn onshow(&self) -> Option<Function>
The onshow
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onshow(&self, onshow: Option<&Function>)
[src]
pub fn set_onshow(&self, onshow: Option<&Function>)
The onshow
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onstalled(&self) -> Option<Function>
[src]
pub fn onstalled(&self) -> Option<Function>
The onstalled
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onstalled(&self, onstalled: Option<&Function>)
[src]
pub fn set_onstalled(&self, onstalled: Option<&Function>)
The onstalled
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onsubmit(&self) -> Option<Function>
[src]
pub fn onsubmit(&self) -> Option<Function>
The onsubmit
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onsubmit(&self, onsubmit: Option<&Function>)
[src]
pub fn set_onsubmit(&self, onsubmit: Option<&Function>)
The onsubmit
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onsuspend(&self) -> Option<Function>
[src]
pub fn onsuspend(&self) -> Option<Function>
The onsuspend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onsuspend(&self, onsuspend: Option<&Function>)
[src]
pub fn set_onsuspend(&self, onsuspend: Option<&Function>)
The onsuspend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontimeupdate(&self) -> Option<Function>
[src]
pub fn ontimeupdate(&self) -> Option<Function>
The ontimeupdate
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)
[src]
pub fn set_ontimeupdate(&self, ontimeupdate: Option<&Function>)
The ontimeupdate
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onvolumechange(&self) -> Option<Function>
[src]
pub fn onvolumechange(&self) -> Option<Function>
The onvolumechange
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)
[src]
pub fn set_onvolumechange(&self, onvolumechange: Option<&Function>)
The onvolumechange
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwaiting(&self) -> Option<Function>
[src]
pub fn onwaiting(&self) -> Option<Function>
The onwaiting
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwaiting(&self, onwaiting: Option<&Function>)
[src]
pub fn set_onwaiting(&self, onwaiting: Option<&Function>)
The onwaiting
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onselectstart(&self) -> Option<Function>
[src]
pub fn onselectstart(&self) -> Option<Function>
The onselectstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onselectstart(&self, onselectstart: Option<&Function>)
[src]
pub fn set_onselectstart(&self, onselectstart: Option<&Function>)
The onselectstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontoggle(&self) -> Option<Function>
[src]
pub fn ontoggle(&self) -> Option<Function>
The ontoggle
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontoggle(&self, ontoggle: Option<&Function>)
[src]
pub fn set_ontoggle(&self, ontoggle: Option<&Function>)
The ontoggle
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointercancel(&self) -> Option<Function>
[src]
pub fn onpointercancel(&self) -> Option<Function>
The onpointercancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)
[src]
pub fn set_onpointercancel(&self, onpointercancel: Option<&Function>)
The onpointercancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerdown(&self) -> Option<Function>
[src]
pub fn onpointerdown(&self) -> Option<Function>
The onpointerdown
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)
[src]
pub fn set_onpointerdown(&self, onpointerdown: Option<&Function>)
The onpointerdown
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerup(&self) -> Option<Function>
[src]
pub fn onpointerup(&self) -> Option<Function>
The onpointerup
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerup(&self, onpointerup: Option<&Function>)
[src]
pub fn set_onpointerup(&self, onpointerup: Option<&Function>)
The onpointerup
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointermove(&self) -> Option<Function>
[src]
pub fn onpointermove(&self) -> Option<Function>
The onpointermove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointermove(&self, onpointermove: Option<&Function>)
[src]
pub fn set_onpointermove(&self, onpointermove: Option<&Function>)
The onpointermove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerout(&self) -> Option<Function>
[src]
pub fn onpointerout(&self) -> Option<Function>
The onpointerout
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerout(&self, onpointerout: Option<&Function>)
[src]
pub fn set_onpointerout(&self, onpointerout: Option<&Function>)
The onpointerout
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerover(&self) -> Option<Function>
[src]
pub fn onpointerover(&self) -> Option<Function>
The onpointerover
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerover(&self, onpointerover: Option<&Function>)
[src]
pub fn set_onpointerover(&self, onpointerover: Option<&Function>)
The onpointerover
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerenter(&self) -> Option<Function>
[src]
pub fn onpointerenter(&self) -> Option<Function>
The onpointerenter
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)
[src]
pub fn set_onpointerenter(&self, onpointerenter: Option<&Function>)
The onpointerenter
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onpointerleave(&self) -> Option<Function>
[src]
pub fn onpointerleave(&self) -> Option<Function>
The onpointerleave
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)
[src]
pub fn set_onpointerleave(&self, onpointerleave: Option<&Function>)
The onpointerleave
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ongotpointercapture(&self) -> Option<Function>
[src]
pub fn ongotpointercapture(&self) -> Option<Function>
The ongotpointercapture
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)
[src]
pub fn set_ongotpointercapture(&self, ongotpointercapture: Option<&Function>)
The ongotpointercapture
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onlostpointercapture(&self) -> Option<Function>
[src]
pub fn onlostpointercapture(&self) -> Option<Function>
The onlostpointercapture
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)
[src]
pub fn set_onlostpointercapture(&self, onlostpointercapture: Option<&Function>)
The onlostpointercapture
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onanimationcancel(&self) -> Option<Function>
[src]
pub fn onanimationcancel(&self) -> Option<Function>
The onanimationcancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)
[src]
pub fn set_onanimationcancel(&self, onanimationcancel: Option<&Function>)
The onanimationcancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onanimationend(&self) -> Option<Function>
[src]
pub fn onanimationend(&self) -> Option<Function>
The onanimationend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onanimationend(&self, onanimationend: Option<&Function>)
[src]
pub fn set_onanimationend(&self, onanimationend: Option<&Function>)
The onanimationend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onanimationiteration(&self) -> Option<Function>
[src]
pub fn onanimationiteration(&self) -> Option<Function>
The onanimationiteration
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)
[src]
pub fn set_onanimationiteration(&self, onanimationiteration: Option<&Function>)
The onanimationiteration
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onanimationstart(&self) -> Option<Function>
[src]
pub fn onanimationstart(&self) -> Option<Function>
The onanimationstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)
[src]
pub fn set_onanimationstart(&self, onanimationstart: Option<&Function>)
The onanimationstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontransitioncancel(&self) -> Option<Function>
[src]
pub fn ontransitioncancel(&self) -> Option<Function>
The ontransitioncancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)
[src]
pub fn set_ontransitioncancel(&self, ontransitioncancel: Option<&Function>)
The ontransitioncancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontransitionend(&self) -> Option<Function>
[src]
pub fn ontransitionend(&self) -> Option<Function>
The ontransitionend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)
[src]
pub fn set_ontransitionend(&self, ontransitionend: Option<&Function>)
The ontransitionend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontransitionrun(&self) -> Option<Function>
[src]
pub fn ontransitionrun(&self) -> Option<Function>
The ontransitionrun
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)
[src]
pub fn set_ontransitionrun(&self, ontransitionrun: Option<&Function>)
The ontransitionrun
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontransitionstart(&self) -> Option<Function>
[src]
pub fn ontransitionstart(&self) -> Option<Function>
The ontransitionstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)
[src]
pub fn set_ontransitionstart(&self, ontransitionstart: Option<&Function>)
The ontransitionstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwebkitanimationend(&self) -> Option<Function>
[src]
pub fn onwebkitanimationend(&self) -> Option<Function>
The onwebkitanimationend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)
[src]
pub fn set_onwebkitanimationend(&self, onwebkitanimationend: Option<&Function>)
The onwebkitanimationend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwebkitanimationiteration(&self) -> Option<Function>
[src]
pub fn onwebkitanimationiteration(&self) -> Option<Function>
The onwebkitanimationiteration
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwebkitanimationiteration(
&self,
onwebkitanimationiteration: Option<&Function>
)
[src]
pub fn set_onwebkitanimationiteration(
&self,
onwebkitanimationiteration: Option<&Function>
)
The onwebkitanimationiteration
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwebkitanimationstart(&self) -> Option<Function>
[src]
pub fn onwebkitanimationstart(&self) -> Option<Function>
The onwebkitanimationstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwebkitanimationstart(
&self,
onwebkitanimationstart: Option<&Function>
)
[src]
pub fn set_onwebkitanimationstart(
&self,
onwebkitanimationstart: Option<&Function>
)
The onwebkitanimationstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onwebkittransitionend(&self) -> Option<Function>
[src]
pub fn onwebkittransitionend(&self) -> Option<Function>
The onwebkittransitionend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onwebkittransitionend(
&self,
onwebkittransitionend: Option<&Function>
)
[src]
pub fn set_onwebkittransitionend(
&self,
onwebkittransitionend: Option<&Function>
)
The onwebkittransitionend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn onerror(&self) -> Option<Function>
[src]
pub fn onerror(&self) -> Option<Function>
The onerror
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_onerror(&self, onerror: Option<&Function>)
[src]
pub fn set_onerror(&self, onerror: Option<&Function>)
The onerror
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_node(&self, nodes: &Array) -> Result<(), JsValue>
[src]
pub fn append_with_node(&self, nodes: &Array) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_node_0(&self) -> Result<(), JsValue>
[src]
pub fn append_with_node_0(&self) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>
[src]
pub fn append_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn append_with_node_2(
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
[src]
pub fn append_with_node_2(
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn append_with_node_3(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
[src]
pub fn append_with_node_3(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn append_with_node_4(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
[src]
pub fn append_with_node_4(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
pub fn append_with_node_5(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
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>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
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>
The append()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn append_with_str(&self, nodes: &Array) -> Result<(), JsValue>
[src]
pub fn append_with_str(&self, nodes: &Array) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_str_0(&self) -> Result<(), JsValue>
[src]
pub fn append_with_str_0(&self) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>
[src]
pub fn append_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_str_2(
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
[src]
pub fn append_with_str_2(
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_str_3(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
[src]
pub fn append_with_str_3(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn append_with_str_4(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
[src]
pub fn append_with_str_4(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
pub fn append_with_str_5(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str
) -> Result<(), JsValue>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
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>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
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>
The append()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_node(&self, nodes: &Array) -> Result<(), JsValue>
[src]
pub fn prepend_with_node(&self, nodes: &Array) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_node_0(&self) -> Result<(), JsValue>
[src]
pub fn prepend_with_node_0(&self) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>
[src]
pub fn prepend_with_node_1(&self, nodes_1: &Node) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn prepend_with_node_2(
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
[src]
pub fn prepend_with_node_2(
&self,
nodes_1: &Node,
nodes_2: &Node
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn prepend_with_node_3(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
[src]
pub fn prepend_with_node_3(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn prepend_with_node_4(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
[src]
pub fn prepend_with_node_4(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
pub fn prepend_with_node_5(
&self,
nodes_1: &Node,
nodes_2: &Node,
nodes_3: &Node,
nodes_4: &Node,
nodes_5: &Node
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
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>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
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]
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>
The prepend()
method
This API requires the following crate features to be activated: Document
, Node
impl Document
[src]
impl Document
pub fn prepend_with_str(&self, nodes: &Array) -> Result<(), JsValue>
[src]
pub fn prepend_with_str(&self, nodes: &Array) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_str_0(&self) -> Result<(), JsValue>
[src]
pub fn prepend_with_str_0(&self) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>
[src]
pub fn prepend_with_str_1(&self, nodes_1: &str) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_str_2(
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
[src]
pub fn prepend_with_str_2(
&self,
nodes_1: &str,
nodes_2: &str
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_str_3(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
[src]
pub fn prepend_with_str_3(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn prepend_with_str_4(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
[src]
pub fn prepend_with_str_4(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
pub fn prepend_with_str_5(
&self,
nodes_1: &str,
nodes_2: &str,
nodes_3: &str,
nodes_4: &str,
nodes_5: &str
) -> Result<(), JsValue>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
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>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
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]
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>
The prepend()
method
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn children(&self) -> HtmlCollection
[src]
pub fn children(&self) -> HtmlCollection
The children
getter
This API requires the following crate features to be activated: Document
, HtmlCollection
impl Document
[src]
impl Document
pub fn first_element_child(&self) -> Option<Element>
[src]
pub fn first_element_child(&self) -> Option<Element>
The firstElementChild
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn last_element_child(&self) -> Option<Element>
[src]
pub fn last_element_child(&self) -> Option<Element>
The lastElementChild
getter
This API requires the following crate features to be activated: Document
, Element
impl Document
[src]
impl Document
pub fn child_element_count(&self) -> u32
[src]
pub fn child_element_count(&self) -> u32
The childElementCount
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontouchstart(&self) -> Option<Function>
[src]
pub fn ontouchstart(&self) -> Option<Function>
The ontouchstart
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)
[src]
pub fn set_ontouchstart(&self, ontouchstart: Option<&Function>)
The ontouchstart
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontouchend(&self) -> Option<Function>
[src]
pub fn ontouchend(&self) -> Option<Function>
The ontouchend
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontouchend(&self, ontouchend: Option<&Function>)
[src]
pub fn set_ontouchend(&self, ontouchend: Option<&Function>)
The ontouchend
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontouchmove(&self) -> Option<Function>
[src]
pub fn ontouchmove(&self) -> Option<Function>
The ontouchmove
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)
[src]
pub fn set_ontouchmove(&self, ontouchmove: Option<&Function>)
The ontouchmove
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn ontouchcancel(&self) -> Option<Function>
[src]
pub fn ontouchcancel(&self) -> Option<Function>
The ontouchcancel
getter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)
[src]
pub fn set_ontouchcancel(&self, ontouchcancel: Option<&Function>)
The ontouchcancel
setter
This API requires the following crate features to be activated: Document
impl Document
[src]
impl Document
pub fn create_ns_resolver(&self, node_resolver: &Node) -> Node
[src]
pub fn create_ns_resolver(&self, node_resolver: &Node) -> Node
The createNSResolver()
method
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]
pub fn append_child(&self, node: &Node) -> Result<Node, JsValue>
The appendChild()
method
This API requires the following crate features to be activated: Node
pub fn clone_node(&self) -> Result<Node, JsValue>
[src]
pub fn clone_node(&self) -> Result<Node, JsValue>
The cloneNode()
method
This API requires the following crate features to be activated: Node
pub fn clone_node_with_deep(&self, deep: bool) -> Result<Node, JsValue>
[src]
pub fn clone_node_with_deep(&self, deep: bool) -> Result<Node, JsValue>
The cloneNode()
method
This API requires the following crate features to be activated: Node
pub fn compare_document_position(&self, other: &Node) -> u16
[src]
pub fn compare_document_position(&self, other: &Node) -> u16
The compareDocumentPosition()
method
This API requires the following crate features to be activated: Node
pub fn contains(&self, other: Option<&Node>) -> bool
[src]
pub fn contains(&self, other: Option<&Node>) -> bool
The contains()
method
This API requires the following crate features to be activated: Node
pub fn get_root_node(&self) -> Node
[src]
pub fn get_root_node(&self) -> Node
The getRootNode()
method
This API requires the following crate features to be activated: Node
pub fn has_child_nodes(&self) -> bool
[src]
pub fn has_child_nodes(&self) -> bool
The hasChildNodes()
method
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]
pub fn insert_before(
&self,
node: &Node,
child: Option<&Node>
) -> Result<Node, JsValue>
The insertBefore()
method
This API requires the following crate features to be activated: Node
pub fn is_default_namespace(&self, namespace: Option<&str>) -> bool
[src]
pub fn is_default_namespace(&self, namespace: Option<&str>) -> bool
The isDefaultNamespace()
method
This API requires the following crate features to be activated: Node
pub fn is_equal_node(&self, node: Option<&Node>) -> bool
[src]
pub fn is_equal_node(&self, node: Option<&Node>) -> bool
The isEqualNode()
method
This API requires the following crate features to be activated: Node
pub fn is_same_node(&self, node: Option<&Node>) -> bool
[src]
pub fn is_same_node(&self, node: Option<&Node>) -> bool
The isSameNode()
method
This API requires the following crate features to be activated: Node
pub fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>
[src]
pub fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>
The lookupNamespaceURI()
method
This API requires the following crate features to be activated: Node
pub fn lookup_prefix(&self, namespace: Option<&str>) -> Option<String>
[src]
pub fn lookup_prefix(&self, namespace: Option<&str>) -> Option<String>
The lookupPrefix()
method
This API requires the following crate features to be activated: Node
pub fn normalize(&self)
[src]
pub fn normalize(&self)
The normalize()
method
This API requires the following crate features to be activated: Node
pub fn remove_child(&self, child: &Node) -> Result<Node, JsValue>
[src]
pub fn remove_child(&self, child: &Node) -> Result<Node, JsValue>
The removeChild()
method
This API requires the following crate features to be activated: Node
pub fn replace_child(&self, node: &Node, child: &Node) -> Result<Node, JsValue>
[src]
pub fn replace_child(&self, node: &Node, child: &Node) -> Result<Node, JsValue>
The replaceChild()
method
This API requires the following crate features to be activated: Node
pub fn node_type(&self) -> u16
[src]
pub fn node_type(&self) -> u16
The nodeType
getter
This API requires the following crate features to be activated: Node
pub fn node_name(&self) -> String
[src]
pub fn node_name(&self) -> String
The nodeName
getter
This API requires the following crate features to be activated: Node
pub fn base_uri(&self) -> Result<Option<String>, JsValue>
[src]
pub fn base_uri(&self) -> Result<Option<String>, JsValue>
The baseURI
getter
This API requires the following crate features to be activated: Node
pub fn is_connected(&self) -> bool
[src]
pub fn is_connected(&self) -> bool
The isConnected
getter
This API requires the following crate features to be activated: Node
pub fn owner_document(&self) -> Option<Document>
[src]
pub fn owner_document(&self) -> Option<Document>
The ownerDocument
getter
This API requires the following crate features to be activated: Document
, Node
pub fn parent_node(&self) -> Option<Node>
[src]
pub fn parent_node(&self) -> Option<Node>
The parentNode
getter
This API requires the following crate features to be activated: Node
pub fn parent_element(&self) -> Option<Element>
[src]
pub fn parent_element(&self) -> Option<Element>
The parentElement
getter
This API requires the following crate features to be activated: Element
, Node
pub fn child_nodes(&self) -> NodeList
[src]
pub fn child_nodes(&self) -> NodeList
The childNodes
getter
This API requires the following crate features to be activated: Node
, NodeList
pub fn first_child(&self) -> Option<Node>
[src]
pub fn first_child(&self) -> Option<Node>
The firstChild
getter
This API requires the following crate features to be activated: Node
pub fn last_child(&self) -> Option<Node>
[src]
pub fn last_child(&self) -> Option<Node>
The lastChild
getter
This API requires the following crate features to be activated: Node
pub fn previous_sibling(&self) -> Option<Node>
[src]
pub fn previous_sibling(&self) -> Option<Node>
The previousSibling
getter
This API requires the following crate features to be activated: Node
pub fn next_sibling(&self) -> Option<Node>
[src]
pub fn next_sibling(&self) -> Option<Node>
The nextSibling
getter
This API requires the following crate features to be activated: Node
pub fn node_value(&self) -> Option<String>
[src]
pub fn node_value(&self) -> Option<String>
The nodeValue
getter
This API requires the following crate features to be activated: Node
pub fn set_node_value(&self, node_value: Option<&str>)
[src]
pub fn set_node_value(&self, node_value: Option<&str>)
The nodeValue
setter
This API requires the following crate features to be activated: Node
pub fn text_content(&self) -> Option<String>
[src]
pub fn text_content(&self) -> Option<String>
The textContent
getter
This API requires the following crate features to be activated: Node
pub fn set_text_content(&self, text_content: Option<&str>)
[src]
pub fn set_text_content(&self, text_content: Option<&str>)
The textContent
setter
This API requires the following crate features to be activated: Node
pub const ELEMENT_NODE: u16
[src]
pub const ATTRIBUTE_NODE: u16
[src]
pub const CDATA_SECTION_NODE: u16
[src]
pub const ENTITY_REFERENCE_NODE: u16
[src]
pub const ENTITY_NODE: u16
[src]
pub const PROCESSING_INSTRUCTION_NODE: u16
[src]
pub const COMMENT_NODE: u16
[src]
pub const DOCUMENT_NODE: u16
[src]
pub const DOCUMENT_TYPE_NODE: u16
[src]
pub const DOCUMENT_FRAGMENT_NODE: u16
[src]
pub const NOTATION_NODE: u16
[src]
pub const DOCUMENT_POSITION_DISCONNECTED: u16
[src]
pub const DOCUMENT_POSITION_PRECEDING: u16
[src]
pub const DOCUMENT_POSITION_FOLLOWING: u16
[src]
pub const DOCUMENT_POSITION_CONTAINS: u16
[src]
pub const DOCUMENT_POSITION_CONTAINED_BY: u16
[src]
Trait Implementations
impl AsRef<JsValue> for Document
[src]
impl AsRef<JsValue> for Document
impl AsRef<Node> for Document
[src]
impl AsRef<Node> for Document
impl AsRef<EventTarget> for Document
[src]
impl AsRef<EventTarget> for Document
fn as_ref(&self) -> &EventTarget
[src]
fn as_ref(&self) -> &EventTarget
impl AsRef<Object> for Document
[src]
impl AsRef<Object> for Document
impl From<JsValue> for Document
[src]
impl From<JsValue> for Document
impl From<Document> for JsValue
[src]
impl From<Document> for JsValue
impl From<Document> for Node
[src]
impl From<Document> for Node
impl From<Document> for EventTarget
[src]
impl From<Document> for EventTarget
fn from(obj: Document) -> EventTarget
[src]
fn from(obj: Document) -> EventTarget
impl From<Document> for Object
[src]
impl From<Document> for Object
impl Clone for Document
[src]
impl Clone for Document
fn clone(&self) -> Document
[src]
fn clone(&self) -> Document
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Document
[src]
impl Debug for Document
impl Deref for Document
[src]
impl Deref for Document
impl JsCast for Document
[src]
impl JsCast for Document
fn instanceof(val: &JsValue) -> bool
[src]
fn instanceof(val: &JsValue) -> bool
fn unchecked_from_js(val: JsValue) -> Self
[src]
fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
Test whether this JS value is an instance of the type T
. Read more
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
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]
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
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]
fn unchecked_into<T>(self) -> T where
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
impl WasmDescribe for Document
[src]
impl WasmDescribe for Document
impl IntoWasmAbi for Document
[src]
impl IntoWasmAbi for Document
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
[src]
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
impl<'a> IntoWasmAbi for &'a Document
[src]
impl<'a> IntoWasmAbi for &'a Document
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
[src]
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
impl FromWasmAbi for Document
[src]
impl FromWasmAbi for Document
type Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self
[src]
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self
impl OptionFromWasmAbi for Document
[src]
impl OptionFromWasmAbi for Document
impl RefFromWasmAbi for Document
[src]
impl RefFromWasmAbi for Document
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
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor
[src]
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor
impl OptionIntoWasmAbi for Document
[src]
impl OptionIntoWasmAbi for Document
impl<'a> OptionIntoWasmAbi for &'a Document
[src]
impl<'a> OptionIntoWasmAbi for &'a Document
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
[src]
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi