Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Notifications API click event not firing from windows 10 action center

  • Καμία απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 9 προβολές
more options

Notifications API click event is firing when the notification is in foreground on windows 10. But if you click on the notification from windows 10 action center, the click event is not firing. But this works on both chrome and edge. Can some body help me on this ?

You can paste the below code in the console to trigger a notification. var notification = new Notification("Hi! ", {tag: 'Notification'}); notification .onclick = function(event) {

   console.log('clicked');

} ;

Notifications API click event is firing when the notification is in foreground on windows 10. But if you click on the notification from windows 10 action center, the click event is not firing. But this works on both chrome and edge. Can some body help me on this ? You can paste the below code in the console to trigger a notification. var notification = new Notification("Hi! ", {tag: 'Notification'}); notification .onclick = function(event) { console.log('clicked'); } ;