domino 0.3.2
domino: ^0.3.2 copied to clipboard
An experimental virtual dom library, which allows mixing DOM elements with components.
Changelog #
0.3.2 #
- Fix
StatefulComponentpath handling bug. - Fix strong-mode cast issue.
- Switching to Timer-based view invalidation, because event bubbling would be triggered on a wrong state.
0.3.1 #
- Fix readme's example.
- New implementation for
StatefulComponent. - Conditional content structure with
addIf. - Breaking change: matching
clazzIfwithaddIfsignature.
0.3.0 #
Breaking changes: full API rewrite:
- Building
Elements become simpler. Setterbecome first-class build pattern.#symbolsbecome first-class patterns (replace previouskey).Event.getNodeBySymbolmay access referencedElements within the scope of the currentComponent.- Removed
StatefulComponent(still working on a better state handling). - Misc API simplification (e.g.
Event.domElement=>Event.element).
Updates:
- Fixed attribute update issues.
0.2.1 #
- Element
Setterfor shortcut certain build patterns. - Enable
Stringand embeddedLists to set forElement.classesandclazzsetters. View.trackto execute (async) actions that will trigger the invalidation of theView.View.escapeto escape the tracker zone forEventHandlers that are registered inside theView.- Expose
ViewinBuildContext. - Experimental
SubView. - Experimental
StatefulComponent(moved toexperimental.dart).
0.2.0+1 #
- Fix NPE.
0.2.0 #
Breaking changes:
- Removed
Element.textandElement.children, usingElement.contentinstead. - content items that are not
List,Component,String,NodeorBuildFnwill be converted toString(and toText).
Updates:
- Fix:
BuildContext.ancestorsdid not includeComponents. - Fix: classes were not updated when the new Element had no class.
- Fix: attributes were not updated when the new Element had no attributes.
- Fix: reduce the non-keyed reuse of DOM Elements that have non-matching style properties. (using
keyreuses them)
0.1.1 #
- Fix: root component was not added to ancestor list.
- Enable multiple (and non-component) children as root for a
View. - New node helper (
br).
0.1.0 #
- Initial version.