View definition

(*Selection).ClosestSelection

Defined in github.com/PuerkitoBio/goquery/traversal.go

Description

ClosestSelection gets the first element that matches one of the nodes in the Selection by testing the element itself and traversing up through its ancestors in the DOM tree.

ClosestSelection is referenced in 1 repository

github.com/PuerkitoBio/goquery