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.
the notificationid
parameter required before chrome 42. see chrome.notifications documentation.
Comments
Post a Comment