Questions tagged [binding.scala]

Binding.scala is a data-binding framework for Scala, running on both JVM and Scala.js. Binding.scala can be used as a reactive web framework. It enables you use native XHTML literal syntax to create reactive DOM nodes, which are able to automatically change whenever the data source changes.

Binding.scala is a data-binding framework for Scala, running on both JVM and Scala.js.

Binding.scala can be used as a reactive web framework. It enables you use native XHTML literal syntax to create reactive DOM nodes, which are able to automatically change whenever the data source changes.

More information: https://github.com/ThoughtWorksInc/Binding.scala

52 questions
1
vote
1 answer

how to use aria attributes in binding.scala

How can i use aria attributes in Binding.scala? When compiling the following:
the following error gets displayed: value aria-checked is not a member of org.scalajs.dom.html.Div fiddle:…
mcku
  • 1,351
  • 12
  • 23
1
vote
1 answer

Generate a case class with Binding.scala Vars using Scala.meta throws an exception

I have a scala.js project. There I have a strange behavior with Scala.Meta and Binding.scala. I want to create a case class from a case class: case class SimpleCaseClass(i: Int, s: String, list: Seq[String]) should generate…
pme
  • 14,156
  • 3
  • 52
  • 95
1
vote
2 answers

Binding.scala: How do I invoke side effects when a value is updated?

I have a list of geographic coordinates in my application, stored in a Vars[Coordinates]. I'd now like to display these on a map and automatically update the map when new coordinates are added to or removed from the list. I'm using a library that…
Matthias Berndt
  • 4,387
  • 1
  • 11
  • 25
1
vote
1 answer

How to create a BindingSeq[T] from a Binding[Seq[T]]

I have a Binding[Seq[T]]. I want to create a BindingSeq[T] in a way that, whenever I change the Seq the BindingSeq will change in the same way. How can I do this?
jens
  • 453
  • 2
  • 12
1
vote
0 answers

BindingSeq and Constants in Binding.scala?

Binding is val of Var. BindingSeq should also be val of Vars. But, to construct sequence of Binding, the BindingSeq can not be constructed from sequence. Is there something wrong? import com.thoughtworks.binding.Binding import…
WeiChing 林煒清
  • 4,452
  • 3
  • 30
  • 65
1
vote
2 answers

Binding.scala using UI-Semantics: applyDynamic does not support passing a vararg parameter

I want to display a tooltip on an element, like: