javascript - How do I ignore the notification id when creating a Chrome notification? -


in documentation of chrome.notifications.create, notificationid marked optional.

but when try invoke function ignoring notificationid, uncaught error:

uncaught error: invocation of form notifications.create(object, function) doesn't match definition notifications.create(string notificationid, object options, function callback)

edit: i've added version information of browser. enter image description here

the notificationid parameter required before chrome 42. see chrome.notifications documentation.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -