ReactToBindingHtml

com.yang_bo.ReactToBindingHtml
See theReactToBindingHtml companion object
final class ReactToBindingHtml[WrapperElement <: Element](reactElement: ReactElement, wrapperElement: WrapperElement) extends Binding[WrapperElement]

A Binding.scala element that wraps a React component.

Attributes

See also:

ReactToBindingHtml.Implicits.reactElementBindable for inserting a React component into an @html literal or an html"..." interpolation.

Companion:
object
Source:
ReactToBindingHtml.scala
Graph
Supertypes
trait Binding[WrapperElement]
trait Watchable[WrapperElement]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

final def flatMap[B](f: WrapperElement => Binding[B]): Binding[B]

Attributes

Inherited from:
Binding
Source:
Binding.scala
final def map[B](f: WrapperElement => B): Binding[B]

Attributes

Inherited from:
Binding
Source:
Binding.scala
final def unwatch(): Unit

Disable automatic recalculation.

Disable automatic recalculation.

Attributes

Note:

This method is recursive, which means that the dependencies of this Binding will be unwatched as well.

Inherited from:
Binding
Source:
Binding.scala
final def watch(): Unit

Enable automatic recalculation.

Enable automatic recalculation.

You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke unwatch same times as the number of calls to this method.

Attributes

Note:

This method is recursive, which means that the dependencies of this Binding will be watched as well.

Inherited from:
Binding
Source:
Binding.scala