emptyComponent

kreuzberg.engine.common.TreeNode.emptyComponent
object emptyComponent extends Component

Attributes

Graph
Supertypes
trait Component
trait Identified
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type Runtime = Unit

Inherited types

type DomElement <: ScalaJsElement

Data type of JS Representation.

Data type of JS Representation.

Attributes

Inherited from:
Component

Value members

Concrete methods

def assemble(using c: AssemblerContext): Assembly

Assemble the object.

Assemble the object.

Attributes

Inherited methods

def comment: String

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
def update(before: ModelValueProvider)(using context: AssemblerContext): UpdateResult

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

Inherited fields

final val id: Identifier

Identifier of the component.

Identifier of the component.

Attributes

Inherited from:
Component