Description

Closest gets the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

Closest is referenced in 5 repositories

github.com/PuerkitoBio/goquery github.com/andres-erbsen/mit github.com/daaku/kat

...