SimpleContextDsl
kreuzberg.SimpleContextDsl
trait SimpleContextDsl extends ComponentDsl
Helpers for building imperative Components using SimpleContext
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class SimpleComponentBase
- Self type
Members list
Value members
Concrete methods
protected def add(binding0: EventBinding[_], others: EventBinding[_]*)(using c: SimpleContext): Unit
Add an event binding.
Add an event binding.
Attributes
Add an imperative handler.
Add an imperative handler.
Attributes
Add an imperative handler (ignoring the argument)
Add an imperative handler (ignoring the argument)
Attributes
protected def addService(service: HeadlessComponent, other: HeadlessComponent*)(using c: SimpleContext): Unit
Add a child service.
Add a child service.
Attributes
Subscribe some model and read at the same time.
Subscribe some model and read at the same time.
Attributes
Inherited methods
Declare a Javascript event.
protected def jsProperty[T](getter: DomElement => T, setter: (DomElement, T) => Unit): JsProperty[DomElement, T]
Declares a js runtime property.
Declares a js runtime state.
Retrieves something from a ServiceRepository (usually an KreuzbergContext)
Retrieves something from a ServiceRepository (usually an KreuzbergContext)
Attributes
- Inherited from:
- ContextDsl
Read the value of a model
Declare a Window JS Event.
Implicits
Inherited implicits
Attributes
- Inherited from:
- ComponentDsl
In this article