Trait stdweb::traits::IParentNode [] [src]

pub trait IParentNode: ReferenceType {
    fn query_selector(&self, selector: &str) -> Result<Option<Element>, TODO> { ... }
fn query_selector_all(&self, selector: &str) -> Result<NodeList, TODO> { ... } }

The ParentNode mixin contains methods and properties that are common to all types of Node objects that can have children.

You most likely don't want to use this directly; instead you should use stdweb::traits::*;.

(JavaScript docs)

Provided Methods

Returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.

(JavaScript docs)

Returns a non-live NodeList of all elements descended from the element on which it is invoked that matches the specified group of CSS selectors.

(JavaScript docs)

Implementors