Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 385 Bytes

Readme.md

File metadata and controls

26 lines (16 loc) · 385 Bytes

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