@splinetool/viewer 0.0.9 → 0.0.11

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.
@@ -26,6 +26,10 @@ export declare class SplineViewer extends LitElement {
26
26
  * Background color
27
27
  */
28
28
  loading: LoadingType;
29
+ /**
30
+ * Background color
31
+ */
32
+ unloadable: boolean;
29
33
  protected _spline: Application;
30
34
  protected _intersectionObserver: IntersectionObserver | null;
31
35
  protected _isElementInViewport: boolean;
@@ -34,8 +38,12 @@ export declare class SplineViewer extends LitElement {
34
38
  protected _canvas: HTMLCanvasElement;
35
39
  protected _logo: HTMLElement;
36
40
  private _loadedUrl;
41
+ private _wasContextLost;
37
42
  constructor();
38
43
  protected unload(): void;
44
+ protected _handleContextLost: () => void;
45
+ protected _handleContextRestored: () => void;
46
+ protected recreateCanvas(): void;
39
47
  protected load(): void;
40
48
  updated(changedProperties: Map<string | number | symbol, any>): void;
41
49
  connectedCallback(): void;