pub fn mount(id: &str, elem: impl Into<Element>)Expand description
Mount an element on the document.
id is the html element id of the parent element. The element is added as
the last child of this element.
Mounting an id that is already mounted will remove that element.
An Element can only appear once in the document. Adding an Element
to the document a second time will move it. It will still require
unmounting from both places to free up any resources.