pub trait DOMDocumentFragmentExt: 'static {
Show 15 methods
fn child_element_count(&self) -> c_ulong;
fn children(&self) -> Option<DOMHTMLCollection>;
fn element_by_id(&self, elementId: &str) -> Option<DOMElement>;
fn first_element_child(&self) -> Option<DOMElement>;
fn last_element_child(&self) -> Option<DOMElement>;
fn query_selector(&self, selectors: &str) -> Result<DOMElement, Error>;
fn query_selector_all(&self, selectors: &str) -> Result<DOMNodeList, Error>;
fn get_property_child_element_count(&self) -> c_ulong;
fn get_property_children(&self) -> Option<DOMHTMLCollection>;
fn get_property_first_element_child(&self) -> Option<DOMElement>;
fn get_property_last_element_child(&self) -> Option<DOMElement>;
fn connect_child_element_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_children_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_first_element_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_last_element_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods
sourcefn child_element_count(&self) -> c_ulong
fn child_element_count(&self) -> c_ulong
Available on crate feature
v2_16
only.sourcefn children(&self) -> Option<DOMHTMLCollection>
fn children(&self) -> Option<DOMHTMLCollection>
Available on crate feature
v2_16
only.sourcefn element_by_id(&self, elementId: &str) -> Option<DOMElement>
fn element_by_id(&self, elementId: &str) -> Option<DOMElement>
Available on crate feature
v2_16
only.sourcefn first_element_child(&self) -> Option<DOMElement>
fn first_element_child(&self) -> Option<DOMElement>
Available on crate feature
v2_16
only.sourcefn last_element_child(&self) -> Option<DOMElement>
fn last_element_child(&self) -> Option<DOMElement>
Available on crate feature
v2_16
only.sourcefn query_selector(&self, selectors: &str) -> Result<DOMElement, Error>
fn query_selector(&self, selectors: &str) -> Result<DOMElement, Error>
Available on crate feature
v2_16
only.sourcefn query_selector_all(&self, selectors: &str) -> Result<DOMNodeList, Error>
fn query_selector_all(&self, selectors: &str) -> Result<DOMNodeList, Error>
Available on crate feature
v2_16
only.