@rive-app/canvas 2.27.0 → 2.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/rive.wasm CHANGED
Binary file
@@ -910,6 +910,14 @@ export declare class ViewModelInstanceEnum extends ViewModelInstanceValue {
910
910
  get values(): string[];
911
911
  }
912
912
 
913
+ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
914
+ get size(): number;
915
+ addInstance(vmi: ViewModelInstance): void;
916
+ removeInstance(vmi: ViewModelInstance): void;
917
+ removeInstanceAt(index: number): void;
918
+ instanceAt(index: number): ViewModelInstance;
919
+ }
920
+
913
921
  export declare class ViewModelInstance {
914
922
  get propertyCount(): number;
915
923
  number(path: string): ViewModelInstanceNumber;
@@ -918,6 +926,7 @@ export declare class ViewModelInstance {
918
926
  color(path: string): ViewModelInstanceColor;
919
927
  enum(path: string): ViewModelInstanceEnum;
920
928
  trigger(path: string): ViewModelInstanceTrigger;
929
+ list(path: string): ViewModelInstanceList;
921
930
  viewModel(path: string): ViewModelInstance;
922
931
  replaceViewModel(path: string, value: ViewModelInstance): boolean;
923
932
  incrementReferenceCount(): void;
Binary file