removeFromListAtIndex

fun removeFromListAtIndex(propertyPath: String, index: Int)

Removes an item from a list property at the specified index.

ℹ️ Changes to bound Rive elements will not be reflected until the next state machine advance.

Parameters

propertyPath

The path to the list property from this view model instance. Slash delimited to refer to nested properties.

index

The index of the item to remove.