@rive-app/webgl-single 1.0.46 → 1.0.49

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.
@@ -99,15 +99,16 @@ interface RiveOptions {
99
99
  // File //
100
100
  //////////
101
101
  export declare class File {
102
- defaultArtboard(): Artboard;
103
- artboardByName(name: string): Artboard;
104
- artboardByIndex(index: number): Artboard;
102
+ defaultArtboard(): Artboard; // rive::ArtboardInstance
103
+ artboardByName(name: string): Artboard; // rive::ArtboardInstance
104
+ artboardByIndex(index: number): Artboard; // rive::ArtboardInstance
105
105
  artboardCount(): number;
106
106
  }
107
+
108
+ // This wraps rive::ArtboardInstance*
107
109
  export declare class Artboard {
108
110
  get name(): string;
109
111
  get bounds(): AABB;
110
- instance(): Artboard;
111
112
  // Deletes the backing wasm artboard instance
112
113
  delete(): void;
113
114
  advance(sec: number): any;