0.1.1 • Published 6 years ago

add-remove-node v0.1.1

Weekly downloads
10
License
SEE LICENCE IN LI...
Repository
github
Last release
6 years ago

Helper function for adding and removing nodes from lists

Using it

Include the script (dist/addRemoveNode.js) in your page and call it, like this:

addRemoveNode(<selector for add elements(s)>, <selector for remove element(s)>, <selector for node to clone>)

the remove element should be a descendant of the node element ( that way you will be able to remove elements from the middle of the list )

0.1.1

6 years ago

0.1.0

6 years ago