Skip to main content

parse_into

Function parse_into 

Source
pub fn parse_into<Ext>(
    dom: &mut Dom<Ext>,
    template: &str,
    mount: NodeId,
) -> Result<Vec<NodeId>>
where Ext: Default + 'static,
Expand description

Parse template and append the parsed tree under mount. Returns the ids of the top-level parsed nodes (direct children appended to mount). Does not alter existing children of mount.