Hi, all,
I am proud to announce the availability of 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 XML literal syntax to create reactive DOM nodes, which are able to automatically change whenever the data source changes.
@dom def render = { val value = Var("") <div> <input onchange={ event: Event => dom.currentTarget.value }/> Your input value is { value.each } </div> } @JSExport def main(): Unit = { dom.render(document.body, render) }
Binding.scala is simple. It has less concepts and more features than other reactive web framework like ReactJS or Widok.
See Live DEMOs for common patterns when working with Binding.scala.
So that means native xml is supported now in SJS? From what I found in Github it was not.