Push notifications using jQuery JavaScript/any plugin.
I have a service that will return data as follows:-
Error_Id, Description, DateTime, Etc.
Need to display these fields and it should also contain two buttons i.e. Accept & Reject.
On click of accept/reject button should call another service.
Tried jQuery notifications, but it does not work like browser notifications apis. When browser is minimized it will all minimize.
Tried browser notifications but could not add two custom buttons.
Ref link:- https://web-push-book.gauntface.com/chapter-05/02-display-a-notification/#title-and-body-options
Also referring the below link it clearly mentions cannot add buttons:- Desktop Notification with HTML Markup ( code example )?
Any help shall be greatly appreciated. Thanks!