NextAll gets all the following siblings of each element in the Selection. It returns a new Selection object containing the matched elements.
()
| 311 | // NextAll gets all the following siblings of each element in the |
| 312 | // Selection. It returns a new Selection object containing the matched elements. |
| 313 | func (s *Selection) NextAll() *Selection { |
| 314 | return pushStack(s, getSiblingNodes(s.Nodes, siblingNextAll, nil, nil)) |
| 315 | } |
| 316 | |
| 317 | // NextAllFiltered gets all the following siblings of each element in the |
| 318 | // Selection filtered by a selector. It returns a new Selection object |