@inweb/viewer-core 27.1.4 → 27.1.5
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.
|
@@ -159,6 +159,17 @@ export interface DisposeEvent {
|
|
|
159
159
|
*/
|
|
160
160
|
type: "dispose";
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Event that fires before viewer resources are released due to canvas removal from DOM.
|
|
164
|
+
*
|
|
165
|
+
* @event
|
|
166
|
+
*/
|
|
167
|
+
export interface CanvasRemovedEvent {
|
|
168
|
+
/**
|
|
169
|
+
* Event type.
|
|
170
|
+
*/
|
|
171
|
+
type: "canvasremoved";
|
|
172
|
+
}
|
|
162
173
|
/**
|
|
163
174
|
* Event that fires when model breaks into its component objects or collect objects back.
|
|
164
175
|
*
|
|
@@ -710,6 +721,10 @@ export interface ViewerEventMap {
|
|
|
710
721
|
* Event that fires when file loading has been canceled.
|
|
711
722
|
*/
|
|
712
723
|
cancel: CancelEvent;
|
|
724
|
+
/**
|
|
725
|
+
* Event that fires before viewer resources are released due to canvas removal from DOM.
|
|
726
|
+
*/
|
|
727
|
+
canvasremoved: CanvasRemovedEvent;
|
|
713
728
|
/**
|
|
714
729
|
* Event that fires when the active dragger has been changed.
|
|
715
730
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/viewer-core",
|
|
3
|
-
"version": "27.1.
|
|
3
|
+
"version": "27.1.5",
|
|
4
4
|
"description": "3D CAD and BIM data Viewer core",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "karma start karma.conf.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@inweb/client": "~27.1.
|
|
30
|
-
"@inweb/eventemitter2": "~27.1.
|
|
29
|
+
"@inweb/client": "~27.1.5",
|
|
30
|
+
"@inweb/eventemitter2": "~27.1.5"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -199,6 +199,18 @@ export interface DisposeEvent {
|
|
|
199
199
|
type: "dispose";
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
/**
|
|
203
|
+
* Event that fires before viewer resources are released due to canvas removal from DOM.
|
|
204
|
+
*
|
|
205
|
+
* @event
|
|
206
|
+
*/
|
|
207
|
+
export interface CanvasRemovedEvent {
|
|
208
|
+
/**
|
|
209
|
+
* Event type.
|
|
210
|
+
*/
|
|
211
|
+
type: "canvasremoved";
|
|
212
|
+
}
|
|
213
|
+
|
|
202
214
|
/**
|
|
203
215
|
* Event that fires when model breaks into its component objects or collect objects back.
|
|
204
216
|
*
|
|
@@ -830,6 +842,11 @@ export interface ViewerEventMap {
|
|
|
830
842
|
*/
|
|
831
843
|
cancel: CancelEvent;
|
|
832
844
|
|
|
845
|
+
/**
|
|
846
|
+
* Event that fires before viewer resources are released due to canvas removal from DOM.
|
|
847
|
+
*/
|
|
848
|
+
canvasremoved: CanvasRemovedEvent;
|
|
849
|
+
|
|
833
850
|
/**
|
|
834
851
|
* Event that fires when the active dragger has been changed.
|
|
835
852
|
*/
|