These are chat archives for ThoughtWorksInc/Binding.scala

15th
Mar 2016
Jens Egholm
@Jegp
Mar 15 2016 20:39
Hey guys
I'm trying to figure out how to use the binding library in Scala (so without the DOM)
I'm not sure whether you recommend this, but it looks pretty slick since all the listener features are in there
Jens Egholm
@Jegp
Mar 15 2016 20:49
But I'm getting stuck trying to map the value of a Var. Hope you can help me out :-)
Jens Egholm
@Jegp
Mar 15 2016 20:59
So, if I have a Vars element, and I'd like to map the contents
I'd expect it to be something like BindingInstances.bind(Vars(...))(xs => Constant(xs)).. But I can't really get it to react to changes in the Var
Sorry *Vars