@xuda.io/runtime-bundle 1.0.834 → 1.0.835
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
|
@@ -14785,6 +14785,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14785
14785
|
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
14786
14786
|
$div.on('inViewport', function () {
|
|
14787
14787
|
hover_in($div);
|
|
14788
|
+
|
|
14789
|
+
if ($div.children().length) return;
|
|
14790
|
+
|
|
14788
14791
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
14789
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);
|
|
14790
14793
|
// render_child();
|
|
@@ -14797,7 +14800,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14797
14800
|
observer_inViewport.observe($div[0]);
|
|
14798
14801
|
});
|
|
14799
14802
|
|
|
14800
|
-
|
|
14803
|
+
observer_inViewport.observe($div[0]);
|
|
14801
14804
|
// observer_outViewport.observe($div[0]);
|
|
14802
14805
|
} else {
|
|
14803
14806
|
// await render_child();
|
|
@@ -12493,6 +12493,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12493
12493
|
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
12494
12494
|
$div.on('inViewport', function () {
|
|
12495
12495
|
hover_in($div);
|
|
12496
|
+
|
|
12497
|
+
if ($div.children().length) return;
|
|
12498
|
+
|
|
12496
12499
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
12497
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);
|
|
12498
12501
|
// render_child();
|
|
@@ -12505,7 +12508,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12505
12508
|
observer_inViewport.observe($div[0]);
|
|
12506
12509
|
});
|
|
12507
12510
|
|
|
12508
|
-
|
|
12511
|
+
observer_inViewport.observe($div[0]);
|
|
12509
12512
|
// observer_outViewport.observe($div[0]);
|
|
12510
12513
|
} else {
|
|
12511
12514
|
// await render_child();
|