Skip to content

Releases: TeamworkGuy2/dom-builder

dom-builder 0.2.0

16 Oct 21:37
Compare
Choose a tag to compare

Changed

  • Added method expectNode() to DomValidate interface
  • DomBuilder internal changes to make extending it easier

dom-builder 0.1.1

16 Oct 21:37
Compare
Choose a tag to compare

Changed

  • TypeScript 2.0 compatibility

dom-builder 0.1.0

16 Oct 21:37
Compare
Choose a tag to compare

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