es6-dom

1.1.2 • Public • Published

ES6-DOM

Simple DOM manipulation object for modern browser using plain javascript and ES6 module syntax

Installation

npm install es6-dom --save

Example

<div id="item1">Hello World</div>


import Dom from 'es6-dom'

let el = Dom.nodeById(id)
Dom.addClass(el, "info-list")

License

MIT

Package Sidebar

Install

npm i es6-dom

Weekly Downloads

5

Version

1.1.2

License

MIT

Unpacked Size

16 kB

Total Files

6

Last publish

Collaborators

  • nickeljew