bj0
08/28/2018, 10:29 PMbindClass
should probably store a reference somewhere to prevent garbage collection. this would make it work the same way as other binding calls in the DSL:
text(vm.isActiveProperty.stringBinding { (it == true) "Stop" else "Start" })
the dynamically created binding stays alive in this case