@xuda.io/runtime-bundle 1.0.795 → 1.0.796

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.
@@ -14719,7 +14719,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14719
14719
  await iterate_child($div, nodeP, parent_infoP, null, $root_container);
14720
14720
  };
14721
14721
 
14722
- if (nodeP.id === 'node-e107d5f5-c0a9-4931-9a74-7c13c300f455') {
14722
+ if (nodeP.attributes['xu-viewport']) {
14723
14723
  $div.on('inViewport', function () {
14724
14724
  console.log('Element is in viewport!');
14725
14725
  render_child();
@@ -12427,7 +12427,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12427
12427
  await iterate_child($div, nodeP, parent_infoP, null, $root_container);
12428
12428
  };
12429
12429
 
12430
- if (nodeP.id === 'node-e107d5f5-c0a9-4931-9a74-7c13c300f455') {
12430
+ if (nodeP.attributes['xu-viewport']) {
12431
12431
  $div.on('inViewport', function () {
12432
12432
  console.log('Element is in viewport!');
12433
12433
  render_child();