shop-components 0.4.5 → 0.4.7

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.
@@ -127,10 +127,17 @@ export declare class Amr extends Object3D {
127
127
  generateSlot(m: Object3D, scene: Object3D): Slot | undefined;
128
128
  clean(): void;
129
129
  destroy(): void;
130
- playAction(name: string, reset?: boolean, options?: {
130
+ private _currentAction;
131
+ private _pendingFinishedCallback;
132
+ playAction(name: string, options?: {
133
+ reset?: boolean;
134
+ loop?: boolean;
131
135
  timeScale?: number;
132
136
  fadeIn?: number;
137
+ fadeOut?: number;
133
138
  clampWhenFinished?: boolean;
134
139
  }): Promise<void>;
135
140
  pauseAction(name: string): void;
141
+ stopAction(name: string, fadeOut?: number): Promise<void>;
142
+ stopAllActions(fadeOut?: number): Promise<void>;
136
143
  }