Function leptos_dom::replace_with

source ·
pub fn replace_with(old_node: &Element, new_node: &Node)
Expand description

Replace the old node with the new node in the DOM. See Element.replaceWith.