// AppendChildren appends all the given children to the parent. func AppendChildren(parent dom.Node, children ...dom.Node) dom.Node { for _, child := range children { parent.AppendChild(child) } return parent }