1.0.2 • Published 9 years ago

dom-collection v1.0.2

Weekly downloads
10
License
-
Repository
github
Last release
9 years ago

dom-collection

Build Status

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.