@spiffcommerce/preview 5.4.0 → 5.5.0-beta.0
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 +6 -0
- package/dist/index.esm.js +229 -220
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -495,6 +495,10 @@ type PreviewOptions = {
|
|
|
495
495
|
* a 3D preview but the actual rendering is not important.
|
|
496
496
|
*/
|
|
497
497
|
readonly noRender?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* When true the preview system will not allow the user to pan the camera.
|
|
500
|
+
*/
|
|
501
|
+
readonly noPan?: boolean;
|
|
498
502
|
/**
|
|
499
503
|
* Configuration for post-processing effects.
|
|
500
504
|
*/
|
|
@@ -989,6 +993,7 @@ declare class ProductCamera extends ArcRotateCamera {
|
|
|
989
993
|
private _isRunningFramingBehavior;
|
|
990
994
|
private framingBehaviourCallback?;
|
|
991
995
|
private panDenominator;
|
|
996
|
+
setPanEnabled(enabled: boolean): void;
|
|
992
997
|
/**
|
|
993
998
|
* Returns the framing behavior of this camera.
|
|
994
999
|
*/
|
|
@@ -1026,6 +1031,7 @@ declare class ProductCamera extends ArcRotateCamera {
|
|
|
1026
1031
|
* @param scene The scene to attach the camera to.
|
|
1027
1032
|
* @param configuration A configuration object to define the cameras limitations.
|
|
1028
1033
|
* @param assignActive If true the camera will be assigned as the active camera on the scene.
|
|
1034
|
+
* @param disablePan If true the camera will not allow panning.
|
|
1029
1035
|
*/
|
|
1030
1036
|
static create(scene: Scene, configuration: Configuration, assignActive?: boolean): ProductCamera;
|
|
1031
1037
|
}
|