@rive-app/webgl-single 2.27.3 → 2.27.4
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 +16 -5
- package/rive.js +456 -114
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +4 -0
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -917,6 +917,9 @@ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
|
|
|
917
917
|
removeInstanceAt(index: number): void;
|
|
918
918
|
instanceAt(index: number): ViewModelInstance;
|
|
919
919
|
}
|
|
920
|
+
export declare class ViewModelInstanceAssetImage extends ViewModelInstanceValue {
|
|
921
|
+
set value(image: Image);
|
|
922
|
+
}
|
|
920
923
|
|
|
921
924
|
export declare class ViewModelInstance {
|
|
922
925
|
get propertyCount(): number;
|
|
@@ -928,6 +931,7 @@ export declare class ViewModelInstance {
|
|
|
928
931
|
trigger(path: string): ViewModelInstanceTrigger;
|
|
929
932
|
list(path: string): ViewModelInstanceList;
|
|
930
933
|
viewModel(path: string): ViewModelInstance;
|
|
934
|
+
image(path: string): ViewModelInstanceAssetImage;
|
|
931
935
|
replaceViewModel(path: string, value: ViewModelInstance): boolean;
|
|
932
936
|
incrementReferenceCount(): void;
|
|
933
937
|
decrementReferenceCount(): void;
|