Notification.title

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note : Cette fonctionnalité est disponible via les Web Workers.

Contexte sécurisé: Cette fonctionnalité est uniquement disponible dans des contextes sécurisés (HTTPS), pour certains navigateurs qui la prennent en charge.

La propriété en lecture seule title de l'interface Notification indique le titre de la notification, comme définis à l'aide de l'option silent lors de la création de la notification à l'aide du constructeur Notification() constructeur.

Syntaxe

js
Notification.title;

Valeur

Spécifications

Specification
Notifications API
# dom-notification-title

Compatibilité des navigateurs

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
title

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

Voir aussi