pub fn is<'a>(
elem: &'a HTMLElement,
selector: &str,
root: &'a HTMLElement,
) -> boolExpand description
Check if the element matches the CSS selector.
pub fn is<'a>(
elem: &'a HTMLElement,
selector: &str,
root: &'a HTMLElement,
) -> boolCheck if the element matches the CSS selector.