Notification Display in a Box

Hello Guys,

Is there any option to show the notification in the box? Please help me with this?

How can I show the notification message on the box, I want to display that on one corner of the window.
What to do?

Please give me any solution

You can use frappe.show_alert
The last parameter indicates seconds that the message will remain visible

frappe.show_alert({
    message:__('Your thing here'),
    indicator:'green'
}, 2);

Hope this helps.

1 Like

hello @avc , thanks for your reply.
That working but I’m my case I need to display the notification instead of the message for every doc’s notification.

see desktop notification that i build

Ok @rioshaz

Sorry … maybe i didn’t understand? Are you talking about replacing all the dialogs and alerts that documents show on screen?