ChildrenChange

@Serializable
sealed interface ChildrenChange : Change

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "add")
class Add(val id: Id, val tag: ChildrenTag, val childId: Id, val index: Int) : ChildrenChange
Link copied to clipboard
@Serializable
@SerialName(value = "move")
class Move(val id: Id, val tag: ChildrenTag, val fromIndex: Int, val toIndex: Int, val count: Int) : ChildrenChange
Link copied to clipboard
@Serializable
@SerialName(value = "remove")
class Remove(val id: Id, val tag: ChildrenTag, val index: Int, val count: Int, val removedIds: List<Id> = emptyList()) : ChildrenChange

Properties

Link copied to clipboard
abstract val id: Id

Identifier for the widget which is the subject of this change.

Link copied to clipboard
abstract val tag: ChildrenTag

Identifies which group of children changed on the widget with id.