domino 0.2.1 domino: ^0.2.1 copied to clipboard
An experimental virtual dom library, which allows mixing DOM elements with components.
Changelog #
0.2.1 #
- Element
Setter
for shortcut certain build patterns. - Enable
String
and embeddedList
s to set forElement.classes
andclazz
setters. View.track
to execute (async) actions that will trigger the invalidation of theView
.View.escape
to escape the tracker zone forEventHandler
s that are registered inside theView
.- Expose
View
inBuildContext
. - Experimental
SubView
. - Experimental
StatefulComponent
(moved toexperimental.dart
).
0.2.0+1 #
- Fix NPE.
0.2.0 #
Breaking changes:
- Removed
Element.text
andElement.children
, usingElement.content
instead. - content items that are not
List
,Component
,String
,Node
orBuildFn
will be converted toString
(and toText
).
Updates:
- Fix:
BuildContext.ancestors
did not includeComponent
s. - 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
key
reuses 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.