📜  chrome 通知 - 任何代码示例

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

代码示例1
var opt = {
  type: "basic",
  title: "Primary Title",
  message: "Primary message to display",
  iconUrl: "url_to_small_icon"
}

chrome.notifications.create(id?, opt, creationCallback?);