Binder

kreuzberg.engine.naive.Binder
See theBinder companion object
class Binder(rootElement: ScalaJsElement, main: Component)(using serviceRepo: ServiceRepository) extends EventManagerDelegate

Binds a root element to a Node.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def locate(componentId: Identifier): ScalaJsElement

Attributes

Definition Classes
override def modelValues: ModelValues

Returns the current state.

Returns the current state.

Attributes

Definition Classes
override def onIterationEnd(modelValues: ModelValues, changedModels: Set[Identifier]): Unit

Update with a new state

Update with a new state

Attributes

Definition Classes
def run(): Unit