How to create a close icon in reactive web app on pop up ?

I need to create a close icon in reactive web app on pop up,upon clicking on the icon the pop should be closed.

mvp_badge
MVP
Solution

Hi Shruti,

Please refer to this guide as it shows in detail how to close a popup using a button.

In your case you just need to replace the button with an icon an wrap a Link widget around it.

Demo OML is attached.

Hope this helps!

Regards,

Nordin

ClosePopup.oml

Hi @Shruti Pillai,

You can use the Icon widget for this, change the icon value to times. 

apply if logic to open and close the popup

refer attached oml 

Thanks, Aadhavan S

Samplev126.oml

mvp_badge
MVP
Solution

Hi Shruti,

Please refer to this guide as it shows in detail how to close a popup using a button.

In your case you just need to replace the button with an icon an wrap a Link widget around it.

Demo OML is attached.

Hope this helps!

Regards,

Nordin

ClosePopup.oml

Hi @Shruti Pillai,

You can use the Icon widget for this, change the icon value to times. 

apply if logic to open and close the popup

refer attached oml 

Thanks, Aadhavan S

Samplev126.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.