removeFromList

fun removeFromList(propertyPath: String, item: ViewModelInstance)

Removes an item from a list property.

ℹ️ 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.

item

The view model instance to remove from the list.