dwv 0.33.0-beta.1 → 0.33.0-beta.2

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
@@ -64,11 +64,11 @@ export declare class App {
64
64
  */
65
65
  getMetaData(index: number): object;
66
66
  /**
67
- * Get the number of loaded data.
67
+ * Get the list of ids in the data storage.
68
68
  *
69
- * @returns {number} The number.
69
+ * @returns {Array} The list of data ids.
70
70
  */
71
- getNumberOfLoadedData(): number;
71
+ getDataIds(): any[];
72
72
  /**
73
73
  * Can the data be scrolled?
74
74
  *
@@ -313,6 +313,14 @@ export declare class App {
313
313
  * @param {object} config The view configuration.
314
314
  */
315
315
  removeDataViewConfig(dataId: number, config: object): void;
316
+ /**
317
+ * Update a data view config.
318
+ *
319
+ * @param {number} dataId The data id.
320
+ * @param {string} divId The div id.
321
+ * @param {object} config The view configuration.
322
+ */
323
+ updateDataViewConfig(dataId: number, divId: string, config: object): void;
316
324
  /**
317
325
  * Set the layer groups binders.
318
326
  *
@@ -323,8 +331,9 @@ export declare class App {
323
331
  * Render the current data.
324
332
  *
325
333
  * @param {number} dataIndex The data index to render.
334
+ * @param {Array} [viewConfigs] The list of configs to render.
326
335
  */
327
- render(dataIndex: number): void;
336
+ render(dataIndex: number, viewConfigs?: any[]): void;
328
337
  /**
329
338
  * Zoom to the layers.
330
339
  *