Skip to content

Commit

Permalink
fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Sep 16, 2024
1 parent 4eab84e commit 66fcf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/notifications_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ btn.addEventListener("click", () => {

接下来,使用 {{domxref("Notification.Notification","Notification()")}} 构造方法创建一个新通知。这个函数必须传递一个标题参数,并且可以选择传递一个选项对象来指定选项,例如文本方向、正文、要显示的图标、要播放的通知的声音等等。

此外,Notifications API 规范对 [ServiceWorker API](/zh-CN/docs/Web/API/ServiceWorker_API) 指定了多个扩展,以允许 Service Worker 发送通知。
此外,Notifications API 规范对 [ServiceWorker API](/zh-CN/docs/Web/API/Service_Worker_API) 指定了多个扩展,以允许 Service Worker 发送通知。

> [!NOTE]
> 想了解怎么在你的应用里使用通知接口,请阅读[使用 Notifications API](/zh-CN/docs/Web/API/Notifications_API/Using_the_Notifications_API)
Expand Down

0 comments on commit 66fcf40

Please sign in to comment.