@3cr/viewer-browser 0.0.100 → 0.0.102
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/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-app style="height: 0; width: 0">
|
|
3
|
-
<MftpWebGL3DRModal
|
|
3
|
+
<MftpWebGL3DRModal
|
|
4
|
+
ref="mftpWebGL3DRModal"
|
|
5
|
+
:payload="payload"
|
|
6
|
+
:options="options"
|
|
7
|
+
/>
|
|
4
8
|
</v-app>
|
|
5
9
|
<Notifications />
|
|
6
10
|
</template>
|
|
@@ -35,6 +39,7 @@ async function loadInstance(
|
|
|
35
39
|
) {
|
|
36
40
|
payload.value = payloadIncoming || payload.value;
|
|
37
41
|
options.value = optionsIncoming;
|
|
42
|
+
|
|
38
43
|
await nextTick();
|
|
39
44
|
unref(mftpWebGL3DRModal)?.alterValue(true);
|
|
40
45
|
}
|
|
@@ -801,6 +801,7 @@ function executeOption(key: keyof LoadViewerOptions) {
|
|
|
801
801
|
executeDemoOption(key);
|
|
802
802
|
} else {
|
|
803
803
|
const functionToExecute = unref(props.options)[key];
|
|
804
|
+
console.log("executeOption", key, functionToExecute);
|
|
804
805
|
if (functionToExecute !== undefined) {
|
|
805
806
|
functionToExecute();
|
|
806
807
|
}
|