dom-collection

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i dom-collection

Weekly Downloads

2

Version

1.0.2

License

none

Last publish

Collaborators

  • jails