@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/package.json +1 -1
- package/rive.d.ts +15 -0
- package/rive.js +66 -10
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +9 -0
- package/rive_fallback.wasm +0 -0
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -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;
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|