From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/notification/badge/index.html | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/fr/web/api/notification/badge/index.html (limited to 'files/fr/web/api/notification/badge') diff --git a/files/fr/web/api/notification/badge/index.html b/files/fr/web/api/notification/badge/index.html new file mode 100644 index 0000000000..f179a2a7bf --- /dev/null +++ b/files/fr/web/api/notification/badge/index.html @@ -0,0 +1,46 @@ +--- +title: Notification.badge +slug: Web/API/notification/badge +tags: + - API Notification + - API badge + - Notification + - Notifications + - Propriété + - Reference +translation_of: Web/API/Notification/badge +--- +

{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}

+ +

La propriété badge de l'interface {{domxref ("Notification")}} renvoie l'URL de l'image utilisée pour représenter la notification lorsqu'il n'y a pas assez d'espace pour afficher la notification elle-même.

+ +

Syntaxe

+ +
const url = Notification.badge
+ +

Valeur

+ +

Une {{domxref('USVString')}} contenant une URL.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationÉtatCommentaire
{{SpecName('Web Notifications','#dom-notification-badge','badge')}}{{Spec2('Web Notifications')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.Notification.badge")}}

-- cgit v1.2.3-54-g00ecf