This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
Improvement to element creation DSL
This release changes how Elements are configured on creation. Old approach:
button {
element {
classes("bigbutton")
this["autofocus"] = true
text("Click Me!")
}
}
New approach:
button { btnEl ->
with(btnEl) {
classes("bigbutton")
this["autofocus"] = true
text("Click Me!")
}
}
The element { }
block is now deprecated in favor of this approach.
What's Changed
Full Changelog: 1.0.2.1...1.1.0