From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/notification/badge/index.md | 35 ++++++++++------------------ 1 file changed, 12 insertions(+), 23 deletions(-) (limited to 'files/fr/web/api/notification/badge') diff --git a/files/fr/web/api/notification/badge/index.md b/files/fr/web/api/notification/badge/index.md index 319ba58bb9..b5663529fb 100644 --- a/files/fr/web/api/notification/badge/index.md +++ b/files/fr/web/api/notification/badge/index.md @@ -10,35 +10,24 @@ tags: - Reference translation_of: Web/API/Notification/badge --- -

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

+{{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.

+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

+## Syntaxe -
const url = Notification.badge
+ const url = Notification.badge -

Valeur

+### Valeur -

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

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

Spécifications

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

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

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

+{{Compat("api.Notification.badge")}} -- cgit v1.2.3-54-g00ecf