dwv 0.33.0-beta.20 → 0.33.0-beta.22

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/dwv.d.ts CHANGED
@@ -294,9 +294,15 @@ export declare class App {
294
294
  */
295
295
  loadImageObject: (data: any[]) => void;
296
296
  /**
297
- * Abort the current load.
297
+ * Abort all the current loads.
298
298
  */
299
- abortLoad(): void;
299
+ abortAllLoads(): void;
300
+ /**
301
+ * Abort an individual data load.
302
+ *
303
+ * @param {string} dataId The data to stop loading.
304
+ */
305
+ abortLoad(dataId: string): void;
300
306
  /**
301
307
  * Fit the display to the data of each layer group.
302
308
  * To be called once the image is loaded.
@@ -364,9 +370,9 @@ export declare class App {
364
370
  * Remove a data view config.
365
371
  *
366
372
  * @param {string} dataId The data id.
367
- * @param {ViewConfig} config The view configuration.
373
+ * @param {string} divId The div id.
368
374
  */
369
- removeDataViewConfig(dataId: string, config: ViewConfig): void;
375
+ removeDataViewConfig(dataId: string, divId: string): void;
370
376
  /**
371
377
  * Update an existing data view config.
372
378
  * Removes and re-creates the layer if found.
@@ -2289,6 +2295,12 @@ export declare class LayerGroup {
2289
2295
  * Empty the layer list.
2290
2296
  */
2291
2297
  empty(): void;
2298
+ /**
2299
+ * Remove all layers for a specific data.
2300
+ *
2301
+ * @param {string} dataId The data to remove its layers.
2302
+ */
2303
+ removeLayersByDataId(dataId: string): void;
2292
2304
  /**
2293
2305
  * Remove a layer from this layer group.
2294
2306
  * Warning: if current active layer, the index will