These are chat archives for ThoughtWorksInc/Binding.scala
General questions should be asked on StackOverflow, not here. This room focuses on development of Binding.scala.
yieldexpression maps some
Constants) to a new
BindingSeq. You can perform calculation in the
This kind of expression is pure because it simply create some new
BindingSeq instead of affecting the real world.
However, if I understand your question correctly, you were asking how to change the real world. For Scala.js target, you invoke
dom.render to mount a
BindingSeq into a DOM document. For JVM target, you have to create your own
MultiMountPoint then invoke
watch method on your mount points. In your mount point instance, you will implement some abstract methods to handle data changing events.
protected. You have to click Show all button to see them in the scaladoc.
Binding.scalaprevents user from registering event listener for a specific
Bindingexpression. Instead, I encourage you create different types of mount point for different types of underlying system.