Skip to content

dom-builder 0.1.0

Compare
Choose a tag to compare
@TeamworkGuy2 TeamworkGuy2 released this 16 Oct 21:37
· 22 commits to master since this release

Added

Initial code commit, included in /dom/ directory:

  • dom-builder.d.ts - interfaces for this module
  • DomBuilder.ts - the main DOM builder API, wraps and element (accessible vial the 'element' property) and provides helper functions like class(), style(), attrs(), etc. to setup an element
  • DomBuilderFactory.ts - a factory that wraps a 'Document' object (i.e. window.document) and provides a quick create() function instead manually creating DomBuilder instances
  • DomBuilderHelper.ts - a helper that wraps a 'Document' object and provides functions like attrFloat(), attrString(), queryAllChilds() and removeChilds()

Changed

  • Renamed project from ts-dom-builder -> dom-builder