AppendNodes appends the specified nodes to each node in the set of matched elements. This follows the same rules as Selection.Append.
(ns ...*html.Node)
| 104 | // |
| 105 | // This follows the same rules as Selection.Append. |
| 106 | func (s *Selection) AppendNodes(ns ...*html.Node) *Selection { |
| 107 | return s.manipulateNodes(ns, false, func(sn *html.Node, n *html.Node) { |
| 108 | sn.AppendChild(n) |
| 109 | }) |
| 110 | } |
| 111 | |
| 112 | // Before inserts the matched elements before each element in the set of matched elements. |
| 113 | // |
no test coverage detected