create Bindable Artboard By Name
fun createBindableArtboardByName(name: String, viewModelInstance: ViewModelInstance? = null): BindableArtboard
Create a BindableArtboard by name. This is can then be bound to a ViewModelArtboardProperty.
⚠️ Important: The bindable artboard can outlive this File instance, but in order to do so it has an extra reference count. You need to call BindableArtboard.release when you are done with it, otherwise it will leak memory.
Return
A new BindableArtboard instance.
Parameters
name
The name of the artboard in the Rive file to create.
view Model Instance
The view model instance to apply to the artboard when bound.
Throws
If no artboard with the given name exists.