📜  chrome 扩展通知 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:09.849000             🧑  作者: 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?);