Skip to content

Notification.onclick() doesn't seem to work #151

Open
@VandeurenGlenn

Description

const permission = await Notification.requestPermission();

if (permission === "granted") {
  new Notification('some-title').onclick = (ev) => {
    console.log(ev)
  }
}

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions