I have to close image once the user click on the close button on NOW MOBILE APP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I have to close image once the user click on the close button on NOW MOBILE APP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi Buddy,
In the Now Mobile app, you cant close or hide elements using custom JavaScript. Everything has to be handled using events and actions.
The correct approach is to show the image inside a modal and attach a Close (X) button. On the button’s Click event, configure the action Close modal. That will immediately dismiss the image.
If the image is not in a modal and is shown inline on the page, use client state instead:
Bind the image’s Visible property to a client state variable (for example showImage)
On the Close button click, set showImage = false
If the image is on a separate page, the Close button should simply trigger Navigation → Go back.
This is the supported way to handle closing images in Now Mobile.
@SK5555 - Please mark Accepted Solution and Thumbs Up if you found Helpful 🙂
