The base API was refactored to solve some issues w...
# kilua
r
The base API was refactored to solve some issues with composable functions. In general, most properties, styles and attributes are now set with functions instead of
var
properties (the calls are now probably more like compose html than KVision - e.g. use
height(25.px)
instead of
height = 25.px
). The internal properties are still there for "power users", to be used outside of composition context when necessary. The global refactoring helped me find quite a lot of bugs and inconsistencies, and some small things are now implemented a lot better (e.g. unaryPlus operator for string content doesn't need to be imported anymore).