@3cr/viewer-browser 0.0.136 → 0.0.138
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/README.md +11 -0
- package/dist/Viewer3CR.js +9 -9
- package/dist/Viewer3CR.mjs +2511 -2504
- package/dist/Viewer3CR.umd.js +9 -9
- package/package.json +1 -1
- package/src/components/modal/MftpWebGL3DRModal.vue +30 -16
package/README.md
CHANGED
|
@@ -95,6 +95,17 @@ Choose one of the following ways
|
|
|
95
95
|
await window.loadViewer()
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
3. #### (Optional) Clean up
|
|
99
|
+
|
|
100
|
+
In order to ensure the css namespace and data from the viewer is cleaned up and removed after execution, call `ejectViewer`
|
|
101
|
+
|
|
102
|
+
Note: You may also want to clean up the initial script you loaded on your site, by removing the nodes of the script you created in `Include @3cr/viewer-browser script`
|
|
103
|
+
|
|
104
|
+
`Typescript (.ts) / Javascript (.js)`
|
|
105
|
+
```ts
|
|
106
|
+
await window.ejectViewer()
|
|
107
|
+
```
|
|
108
|
+
|
|
98
109
|
|
|
99
110
|
## Contributing
|
|
100
111
|
|