Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Insert DOM elements into a container in order
tag: v0.1.7

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
.npmignore
.testem.json
.travis.yml
LICENCE
README.md
index.js
package.json

README.md

ordered

build status dependency status

browser support

Insert DOM elements into a container in order

Example

var ordered = require("ordered")

var insert = ordered(containerElem)

insert("someKey", someElem)
insert("someOtherKey", someElem)
insert(data.sortKey, Widget(data))

The elements will be inserted into the containerElem in order of the key you pass as first argument

Installation

npm install ordered

Contributors

  • Raynos

MIT Licenced

Something went wrong with that request. Please try again.