0.0.4 • Published 3 years ago

add-element v0.0.4

Weekly downloads
27
License
-
Repository
github
Last release
3 years ago

Add Element

Add HTML elements to the DOM with JavaScript in a super easy way. No external depenedencies needed.

const parent = document.querySelector('body')
const element = new AddElement({
      elementType: 'div',
      className: 'classname',
      content: 'Content',
      contentElement: 'p',
      parent: parent,
      id: 'uniqueId',
}).create()
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago