Element
abstract class Element(val identity: ElementIdentity, val type: ElementType<*, *>, children: List<Element> = emptyList(), val modifier: Modifier = Modifier.Empty)(source)
Immutable description of one retained node and its direct children.
The engine owns the description snapshot after construction.
Element implementations keep local properties and provide their typed hooks through the stable Element.type token.
Constructors
Link copied to clipboard
constructor(identity: ElementIdentity, type: ElementType<*, *>, children: List<Element> = emptyList(), modifier: Modifier = Modifier.Empty)