Skip to main content

visit_elements

Function visit_elements 

Source
pub fn visit_elements<'a>(
    node: &mut Node<'a>,
    visitor: impl FnMut(&mut Element<'a>, &[&'a str]) -> Visit,
)
Expand description

Call visitor on every element under node, in document order, with the tag names of its element ancestors, outermost first. A template’s content is not visited.