@xuda.io/runtime-bundle 1.0.387 → 1.0.388
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.
|
@@ -31983,8 +31983,20 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31983
31983
|
// },
|
|
31984
31984
|
// });
|
|
31985
31985
|
|
|
31986
|
-
Object.observe(_session.DS_GLB[paramsP.dsSessionP], function (changes) {
|
|
31987
|
-
|
|
31986
|
+
// Object.observe(_session.DS_GLB[paramsP.dsSessionP], function (changes) {
|
|
31987
|
+
// console.log(changes);
|
|
31988
|
+
// });
|
|
31989
|
+
|
|
31990
|
+
// create a new instance of `MutationObserver` named `observer`,
|
|
31991
|
+
// passing it a callback function
|
|
31992
|
+
const observer = new MutationObserver(() => {
|
|
31993
|
+
console.log('callback that runs when observer is triggered');
|
|
31994
|
+
});
|
|
31995
|
+
|
|
31996
|
+
// call `observe()`, passing it the element to observe, and the options object
|
|
31997
|
+
observer.observe(_session.DS_GLB[paramsP.dsSessionP], {
|
|
31998
|
+
subtree: true,
|
|
31999
|
+
childList: true,
|
|
31988
32000
|
});
|
|
31989
32001
|
|
|
31990
32002
|
return {};
|