NextAllFiltered gets all the following siblings of each element in the Selection filtered by a selector. It returns a new Selection object containing the matched elements.
(selector string)
| 318 | // Selection filtered by a selector. It returns a new Selection object |
| 319 | // containing the matched elements. |
| 320 | func (s *Selection) NextAllFiltered(selector string) *Selection { |
| 321 | return filterAndPush(s, getSiblingNodes(s.Nodes, siblingNextAll, nil, nil), compileMatcher(selector)) |
| 322 | } |
| 323 | |
| 324 | // NextAllMatcher gets all the following siblings of each element in the |
| 325 | // Selection filtered by a matcher. It returns a new Selection object |