fn query_selector( &self, selector: &str ) -> Option< Element > {
        // TODO: This can throw an exception in case of an invalid selector;
        //       convert the return type to a Result.
        unsafe {
            js!( return @{self.as_ref()}.querySelector( @{selector} ); ).into_reference_unchecked()
        }
    }
/// 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)](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)
Returns the first element that is a descendant of the element on which it is
invoked that matches the specified group of selectors.


Returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors .
fn query_selector( &self, selector: &str ) -> Option< Element > {
        // TODO: This can throw an exception in case of an invalid selector;
        //       convert the return type to a Result.
        unsafe {
            js!( return @{self.as_ref()}.querySelector( @{selector} ); ).into_reference_unchecked()
        }
    }
fn query_selector ( & self , selector : & str ) -> Option < Element > { // TODO: This can throw an exception in case of an invalid selector; //       convert the return type to a Result. unsafe { js ! ( return { self as_ref ( ) } querySelector ( { selector } ) ) . into_reference_unchecked ( ) } }
Returns the first element that is a descendant of the element on which it is
invoked that matches the specified group of selectors.
Returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors .
&self
selector
&str
&self
selector
&str