@splinetool/viewer 0.0.21 → 0.0.23
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/README.md +4 -0
- package/build/spline-viewer.cjs +257 -204
- package/build/spline-viewer.d.ts +5 -0
- package/build/spline-viewer.js +259 -206
- package/package.json +1 -1
package/build/spline-viewer.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ export declare class SplineViewer extends LitElement {
|
|
|
35
35
|
* Target of the mouse events, can either be 'local' (ie the canvas) or global (window)
|
|
36
36
|
*/
|
|
37
37
|
eventsTarget: EventsTargetType | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* When true it displays the spinner preloader
|
|
40
|
+
*/
|
|
41
|
+
preloader: boolean;
|
|
38
42
|
protected _spline: Application;
|
|
39
43
|
protected _intersectionObserver: IntersectionObserver | null;
|
|
40
44
|
protected _isElementInViewport: boolean;
|
|
@@ -42,6 +46,7 @@ export declare class SplineViewer extends LitElement {
|
|
|
42
46
|
protected _container: HTMLElement;
|
|
43
47
|
protected _canvas: HTMLCanvasElement;
|
|
44
48
|
protected _logo: HTMLElement;
|
|
49
|
+
protected _preloader: HTMLElement;
|
|
45
50
|
private _loadedUrl;
|
|
46
51
|
private _wasContextLost;
|
|
47
52
|
constructor();
|