0.0.7 • Published 7 years ago

element-path v0.0.7

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Element-Path

Path of element get and query.

Examples

var ep = new ElementPath()
var element = document.querySelect('a:nth-child(2)')
var path = ep.get(element)
console.log(element === ep.query(path))
// true
0.0.7

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago