Skip to main content

is

Function is 

Source
pub fn is<'a>(
    elem: &'a HTMLElement,
    selector: &str,
    root: &'a HTMLElement,
) -> bool
Expand description

Check if the element matches the CSS selector.