📜  如何在 chrome 中创建通知 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:54.339000             🧑  作者: Mango

代码示例1
chrome.notifications.create(
  "name-for-notification",
  {
    type: "basic",
    iconUrl: "image.jpeg",
    title: "This is a notification",
    message: "hello there!",
  },
  function () {}
);