Firefox Tomorrow

web api event

Notification: close event

View on MDN ↗

Secure context Available in workers

The close event of the Notification interface fires when a Notification is closed.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener("close", (event) => { })

onclose = (event) => { }

Event type

A generic Event.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also