@rive-app/canvas-single 2.35.2 → 2.35.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 -1
- package/rive.js +1009 -985
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +13 -9
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -792,6 +792,21 @@ export declare class Rive {
|
|
|
792
792
|
getBindableArtboard(name: string): BindableArtboard | null;
|
|
793
793
|
getDefaultBindableArtboard(): BindableArtboard | null;
|
|
794
794
|
}
|
|
795
|
+
export declare enum DataType {
|
|
796
|
+
none = "none",
|
|
797
|
+
string = "string",
|
|
798
|
+
number = "number",
|
|
799
|
+
boolean = "boolean",
|
|
800
|
+
color = "color",
|
|
801
|
+
list = "list",
|
|
802
|
+
enumType = "enumType",
|
|
803
|
+
trigger = "trigger",
|
|
804
|
+
viewModel = "viewModel",
|
|
805
|
+
integer = "integer",
|
|
806
|
+
listIndex = "listIndex",
|
|
807
|
+
image = "image",
|
|
808
|
+
artboard = "artboard"
|
|
809
|
+
}
|
|
795
810
|
export declare class ViewModel {
|
|
796
811
|
private _viewModel;
|
|
797
812
|
constructor(viewModel: rc.ViewModel);
|
|
@@ -800,7 +815,7 @@ export declare class ViewModel {
|
|
|
800
815
|
instanceByIndex(index: number): ViewModelInstance | null;
|
|
801
816
|
instanceByName(name: string): ViewModelInstance | null;
|
|
802
817
|
defaultInstance(): ViewModelInstance | null;
|
|
803
|
-
instance(): ViewModelInstance
|
|
818
|
+
instance(): ViewModelInstance;
|
|
804
819
|
get properties(): rc.ViewModelProperty[];
|
|
805
820
|
get instanceNames(): string[];
|
|
806
821
|
}
|