mount function
void
mount(
- Element parent,
- Node child
Replaces the entire content of parent with child.
Implementation
void mount(web.Element parent, web.Node child) {
clearChildren(parent);
parent.appendChild(child);
}