This repository is a mirror of the component module eivindfjeldstad/insert. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/eivindfjeldstad-insert
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
insert
easy element insertion
Installation
Install with component(1):
$ component install eivindfjeldstad/insert
API
.before(el, after)
Insert el
before after
.
.after(el, before)
Insert el
after before
.
.prepend(el, parent)
Prepend el
to parent
.
.append(el, parent)
Append el
to parent
.
License
MIT