MCPcopy
hub / github.com/PuerkitoBio/goquery / AppendSelection

Method AppendSelection

manipulation.go:90–92  ·  view source on GitHub ↗

AppendSelection appends the elements in the selection to the end of each element in the set of matched elements. This follows the same rules as Selection.Append.

(sel *Selection)

Source from the content-addressed store, hash-verified

88//
89// This follows the same rules as Selection.Append.
90func (s *Selection) AppendSelection(sel *Selection) *Selection {
91 return s.AppendNodes(sel.Nodes...)
92}
93
94// AppendHtml parses the html and appends it to the set of matched elements.
95func (s *Selection) AppendHtml(htmlStr string) *Selection {

Callers 4

TestAppendSelectionFunction · 0.80
TestAppendCloneFunction · 0.80
WrapAllNodeMethod · 0.80

Calls 1

AppendNodesMethod · 0.95

Tested by 3

TestAppendSelectionFunction · 0.64
TestAppendCloneFunction · 0.64