@xuda.io/runtime-bundle 1.0.838 → 1.0.840
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -14781,17 +14781,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14781
14781
|
// };
|
|
14782
14782
|
|
|
14783
14783
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
14784
|
-
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
14785
|
-
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
14786
14784
|
$div.on('inViewport', function () {
|
|
14787
|
-
if ($div.children().length)
|
|
14785
|
+
if ($div.children().length) {
|
|
14786
|
+
const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
14787
|
+
return;
|
|
14788
|
+
}
|
|
14788
14789
|
|
|
14789
14790
|
hover_in($div);
|
|
14790
14791
|
|
|
14791
|
-
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
14792
14792
|
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
|
|
14793
|
-
|
|
14794
|
-
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|
|
14793
|
+
|
|
14795
14794
|
observer_outViewport.observe($div[0]);
|
|
14796
14795
|
});
|
|
14797
14796
|
|
|
@@ -12489,17 +12489,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12489
12489
|
// };
|
|
12490
12490
|
|
|
12491
12491
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
12492
|
-
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
12493
|
-
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
12494
12492
|
$div.on('inViewport', function () {
|
|
12495
|
-
if ($div.children().length)
|
|
12493
|
+
if ($div.children().length) {
|
|
12494
|
+
const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
12495
|
+
return;
|
|
12496
|
+
}
|
|
12496
12497
|
|
|
12497
12498
|
hover_in($div);
|
|
12498
12499
|
|
|
12499
|
-
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
12500
12500
|
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
|
|
12501
|
-
|
|
12502
|
-
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|
|
12501
|
+
|
|
12503
12502
|
observer_outViewport.observe($div[0]);
|
|
12504
12503
|
});
|
|
12505
12504
|
|