@shotstack/shotstack-studio 2.14.1 → 2.14.3
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.ts +19 -0
- package/dist/internal.es.js +331 -301
- package/dist/internal.umd.js +13 -13
- package/dist/shotstack-studio.es.js +1016 -978
- package/dist/shotstack-studio.umd.js +100 -100
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -895,4 +895,23 @@ export declare class VideoExporter {
|
|
|
895
895
|
private restoreEditState;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
|
+
/**
|
|
899
|
+
* WebGL Support Detection
|
|
900
|
+
*
|
|
901
|
+
* Checks if the browser supports WebGL, which is required for PixiJS rendering.
|
|
902
|
+
* Should be called before attempting to initialize the canvas.
|
|
903
|
+
*/
|
|
904
|
+
declare interface WebGLSupportResult {
|
|
905
|
+
supported: boolean;
|
|
906
|
+
reason?: "webgl-unavailable" | "webgl-error";
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Thrown by `Canvas.load()` when WebGL is unavailable, so hosts can show
|
|
911
|
+
* their own error state instead of treating the editor as loaded.
|
|
912
|
+
*/
|
|
913
|
+
export declare class WebGLUnsupportedError extends Error {
|
|
914
|
+
constructor(reason?: WebGLSupportResult["reason"]);
|
|
915
|
+
}
|
|
916
|
+
|
|
898
917
|
export { }
|