0.0.2 • Published 7 years ago

htmlboilerplate v0.0.2

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

htmlboilerplate

A small library providing utility methods to create HTML DOM nodes

Installation

npm install htmlboilerplate --save

Usage

const htmlboilerplate = require('htmlboilerplate');

var element = htmlboilerplate.get("#test"); element.appendChild(htmlboilerplate.createElement("p",{style:"color:red;"},"Test"));

htmlboilerplate.inject();

element.hide(); element.show("block");

Release History

  • 0.1.0 Initial release