ChildrenMatcher gets the child elements of each element in the Selection, filtered by the specified matcher. It returns a new Selection object containing these elements.
(m Matcher)
| 103 | // filtered by the specified matcher. It returns a new |
| 104 | // Selection object containing these elements. |
| 105 | func (s *Selection) ChildrenMatcher(m Matcher) *Selection { |
| 106 | return filterAndPush(s, getChildrenNodes(s.Nodes, siblingAll), m) |
| 107 | } |
| 108 | |
| 109 | // Parent gets the parent of each element in the Selection. It returns a |
| 110 | // new Selection object containing the matched elements. |
no test coverage detected