Gurigraphics / DOMinus.js

DOMinus.js is a reactive data binding library that turn HTML irrelevant.
4 stars 1 forks source link

Update to 1.0.1 #6

Closed Gurigraphics closed 5 years ago

Gurigraphics commented 5 years ago

Removed: "DOM.TAGS"

To change input values in update.

Added class methods:

DOM.class.add( "element", "newClass" ) DOM.class.remove( "element", "newClass" )

Changed "MOD.mount" to accept the two syntaxes( with attrs or no ):

HTML.header = {
  tag: "ul", 
  attrs: { id: "header" },
  html: "header_content"  
}

HTML.header = {
  tag: "ul", 
  id: "header",
  html: "header_content"  
}