@xuda.io/runtime-bundle 1.0.800 → 1.0.802
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.
|
@@ -34379,6 +34379,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34379
34379
|
entries.forEach((entry) => {
|
|
34380
34380
|
if (entry.isIntersecting) {
|
|
34381
34381
|
// Element is in viewport - trigger custom event
|
|
34382
|
+
console.log('trigger>>', 'inViewport_' + $(entry.target).attr('xu-ui-id'));
|
|
34383
|
+
hover_in($div);
|
|
34382
34384
|
$(entry.target).trigger('inViewport_' + $(entry.target).attr('xu-ui-id'));
|
|
34383
34385
|
|
|
34384
34386
|
// Optional: stop observing once triggered
|
|
@@ -34396,6 +34398,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34396
34398
|
};
|
|
34397
34399
|
|
|
34398
34400
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
34401
|
+
console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
34399
34402
|
$div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
34400
34403
|
render_child();
|
|
34401
34404
|
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|