Skip to content

Commit

Permalink
fix: Refactor DOMElement
Browse files Browse the repository at this point in the history
* No longer keep track of unnecessary state (e.g. uiEvents)
* Fix onMount
* Allow adding the DOMElement via Node#addComponent instead of DOMElement
  constructor
* Improve (basically rewrite) test suite
* Allow recycling of DOMElement
* Store state in external Spec (consistent with Node)
* Make DOMElement#getValue consistent with spec naming conventions
  (e.g. styles/ id)
* Add missing getter functions
* Fix documentation
* Obsolete/ Remove DOMElement#draw DOMElement#init (users called it
  explicitly due to confusion)
* Fix return values described in the docs (make methods chainable)
* Properly reset ElementCache when elements are being reused
* Generalize dismounting: preserve DOMElement spec
* Reset properties, attributes etc. onDismount
  • Loading branch information
alexanderGugel committed Jun 19, 2015
1 parent 657db01 commit 1d7e58b
Show file tree
Hide file tree
Showing 4 changed files with 909 additions and 226 deletions.
Loading

0 comments on commit 1d7e58b

Please sign in to comment.