esquery icon indicating copy to clipboard operation
esquery copied to clipboard

How do I get the ancestor list?

Open foresightyj opened this issue 8 years ago • 0 comments

The closest I could find is discusssed here but the pull request is not merged. https://github.com/estools/esquery/pull/45

In dom, once I get a node via css selector, I always have a parentNode property to trace up to the root of the tree.

foresightyj avatar Oct 18 '17 09:10 foresightyj