@inweb/viewer-visualize 26.11.0 → 26.12.1
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/viewer-visualize.js +59 -6
- package/dist/viewer-visualize.js.map +1 -1
- package/dist/viewer-visualize.min.js +1 -1
- package/dist/viewer-visualize.module.js +2 -1
- package/dist/viewer-visualize.module.js.map +1 -1
- package/lib/Viewer/Viewer.d.ts +2 -1
- package/package.json +5 -5
- package/src/Viewer/Viewer.ts +4 -0
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { CANVAS_EVENTS, draggersRegistry, commandsRegistry, componentsRegistry, Loader, loadersRegistry, Options } from '@inweb/viewer-core';
|
|
24
|
+
import { CANVAS_EVENTS, draggersRegistry, commandsRegistry, componentsRegistry, Loader, loadersRegistry, Options, Info } from '@inweb/viewer-core';
|
|
25
25
|
export * from '@inweb/viewer-core';
|
|
26
26
|
import { EventEmitter2 } from '@inweb/eventemitter2';
|
|
27
27
|
import { Markup } from '@inweb/markup';
|
|
@@ -3958,6 +3958,7 @@ class Viewer extends EventEmitter2 {
|
|
|
3958
3958
|
this.options = new Options(this);
|
|
3959
3959
|
this.loaders = [];
|
|
3960
3960
|
this.models = [];
|
|
3961
|
+
this.info = new Info();
|
|
3961
3962
|
this.canvasEvents = CANVAS_EVENTS.slice();
|
|
3962
3963
|
this.canvaseventlistener = (event) => this.emit(event);
|
|
3963
3964
|
this._activeDragger = null;
|