SimpleComponentBase
A Component base which uses a more imperative KreuzbergContext for collecting event handlers and model subscriptions.
Attributes
- Graph
-
- Supertypes
-
trait Componenttrait Identifiedtrait SimpleContextDsltrait ComponentDsltrait ContextDslclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited and Abstract types
Data type of JS Representation.
Value members
Abstract methods
Inherited methods
Add an event binding.
Add an imperative handler.
Add an imperative handler (ignoring the argument)
Add a child service.
Comment, which will probably built into into a tree. Can be disabled by returning ""
Comment, which will probably built into into a tree. Can be disabled by returning ""
Attributes
- Inherited from:
- Identified
Declare a Javascript event.
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
Schedule some code.
Subscribe some model and read at the same time.
Update the component into a new state. By default components are re-rendered.
Update the component into a new state. By default components are re-rendered.
Overriding this method can improve performance, if a component generates large sub-trees and we do not want to rebuild everything (e.g. List-Components).
Attributes
- Inherited from:
- Component
Declare a Window JS Event.
Inherited fields
Identifier of the component.
Implicits
Inherited implicits
Attributes
- Inherited from:
- ComponentDsl