dom-collection
v1.0.2
Published
Index based collection manipulation methods for DOM element child nodes.
Downloads
3
Readme
dom-collection
Index based collection manipulation methods for DOM element child nodes.
API
insertAt(element, index, parent)
Inserts an DOM element at a specific index.
moveAt(element, index, parent)
Moves a DOM element to a specific index.
replaceAt(element, index, parent)
Replaces a DOM element at a specific index.
removeAt(element, index, parent)
Removes a DOM element at a specific index.