Package-level declarations

Types

Link copied to clipboard
abstract class Element(val identity: ElementIdentity, val type: ElementType<*, *>, children: List<Element> = emptyList(), val modifier: Modifier = Modifier.Empty)

Immutable description of one retained node and its direct children.

Link copied to clipboard
sealed interface ElementIdentity

Identity used when reconciling an element with a retained node.

Link copied to clipboard
data class ElementKey<T : Any>(val value: T)

Immutable typed identity for a keyed element.

Link copied to clipboard
class ElementType<E : Element, N : Node>(elementClass: KClass<E>, nodeClass: KClass<out N>, validateLocal: (E) -> Unit, createNode: (E) -> N, updateNode: (E, E, N) -> DirtyMask)

Stable referential token and typed SPI for one element kind.