dom-builder 0.1.0
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