Nick
01/18/2021, 9:24 AMclass MyView: View {
var name by renderProperty("") // will cause the View to re-render when it changes
var age by styleProperty (56) // will cause trigger styleChanged event when changed
}
• Pointer, PointerMotion, and Key listener DSLs for more compact consumption of a single event type
view.poinerChanged += pressed { event -> }
view.keyChanged += released { event -> }
view.pointerMotionChanged += dragged { event -> }
• DSLs to simplify usage of ListEditor, Layouts that only position, and CommonButtonBehavior that just render
• TextField now supports font/color for placeholder
• Added support for text decorations to StyledText
See the full release notes for more details.
Posted in #doodle