[Overlay] How to hide the Overlay Conponent.

[Overlay] How to hide the Overlay Conponent.

  
Forge Component
(3)
Published on 2014-06-12 by João Melo
3 votes
Published on 2014-06-12 by João Melo

Dear All,

I'm showing the Overlay popup when the user click on a button. The action called by the button takes around 30 seconds to be done.

How can i close/hide the Overlay popup when the action is completed?


Thank you,

Lana



Solution

Hello Lana,

Are you using a local variable to show the popup? When the action is completed, should set your variable to False and refresh the container where you have the Overlay web block.


Here is an example, hope this helps.

Thank you,

Fábio Mateus

Solution

Thank you Fábio.

It works fine.