1.0.2 • Published 8 years ago

jquery-getpath v1.0.2

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
8 years ago

jquery-path

Gets the CSS path to a jQuery node or the element representation of a library with a similar API.

Based on a StackOverflow answer.

Install

npm install jquery-path

Usage

getPath($('.foo')) // => 'html>body>div#bar>div.foo'

License

This code is licensed under the MIT license.

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

9 years ago