gralobe 1.0.8 → 1.0.9
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/gralobe.js +10 -3
- package/dist/gralobe.js.map +1 -1
- package/dist/gralobe.umd.cjs +2 -2
- package/dist/gralobe.umd.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -169,6 +169,9 @@ export declare class GlobeViz implements GlobeVizAPI {
|
|
|
169
169
|
private currentStatistic;
|
|
170
170
|
private animationId;
|
|
171
171
|
private isDestroyed;
|
|
172
|
+
/** Promise that resolves when fully initialized */
|
|
173
|
+
ready: Promise<void>;
|
|
174
|
+
private resolveReady;
|
|
172
175
|
/**
|
|
173
176
|
* Create a new GlobeViz instance
|
|
174
177
|
* @param container CSS selector or HTMLElement
|
|
@@ -203,6 +206,8 @@ export declare class GlobeViz implements GlobeVizAPI {
|
|
|
203
206
|
* Public API for controlling the globe
|
|
204
207
|
*/
|
|
205
208
|
export declare interface GlobeVizAPI {
|
|
209
|
+
/** Promise that resolves when globe is fully initialized */
|
|
210
|
+
ready: Promise<void>;
|
|
206
211
|
/** Animate to globe view */
|
|
207
212
|
toGlobe(): void;
|
|
208
213
|
/** Animate to flat map view */
|
package/package.json
CHANGED