@spiffcommerce/preview 5.9.0 → 5.9.1
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/dist/index.d.mts +4 -0
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -827,6 +827,10 @@ type ModelContainer = {
|
|
|
827
827
|
* @returns A promise which resolves when the animation has completed. If the animation is looping, the promise will resolve after the first loop.
|
|
828
828
|
*/
|
|
829
829
|
executeAnimation(animation: ModelAnimation): Promise<void>;
|
|
830
|
+
/**
|
|
831
|
+
* Returns the last animation that was executed on the model.
|
|
832
|
+
*/
|
|
833
|
+
getLastRequestedAnimation(): ModelAnimation | undefined;
|
|
830
834
|
/**
|
|
831
835
|
* Disposes all resources associated with the model container.
|
|
832
836
|
* Note: This will also remove the container from the preview service.
|
package/dist/index.esm.js
CHANGED
|
@@ -1138,10 +1138,10 @@ class it {
|
|
|
1138
1138
|
unregisterModelVariantListener(e) {
|
|
1139
1139
|
this.modelVariantObservable.removeCallback(e);
|
|
1140
1140
|
}
|
|
1141
|
-
//#endregion
|
|
1142
1141
|
getLastRequestedAnimation() {
|
|
1143
1142
|
return this.lastRequestedAnimation;
|
|
1144
1143
|
}
|
|
1144
|
+
//#endregion
|
|
1145
1145
|
getCurrentAnimationFrame() {
|
|
1146
1146
|
var t;
|
|
1147
1147
|
const e = [
|
package/package.json
CHANGED