Lazy load on weblock changing

Lazy load on weblock changing

  

Hello,

I have a screen with some tabs and by changing tabs, the weblocks displayed also change.

I want to delay the render of these weblocks when changing the tab. Something like Lazy Load.

The problem is, Lazy Load only works when the screen is reloaded and when I change the tab, that doesn't happen.

Is there anything I can do to apply this method for weblock refreshing?

Thank you in advance,

Filipa


Solution

Hello Filipa,

Don't know if there is anything in the Forge already, but you could start a JavaScript timer that would call an action after some time that would click in a hidden link that would call a Screen Action with Ajax Refresh that would change a condition and refresh the IF showing the web block...

This is just an idea...
Sure there are better ways :)

Cheers.

Solution