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/data/index.html | 56 +++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 files/fr/web/api/notification/data/index.html (limited to 'files/fr/web/api/notification/data') diff --git a/files/fr/web/api/notification/data/index.html b/files/fr/web/api/notification/data/index.html new file mode 100644 index 0000000000..102d0dd905 --- /dev/null +++ b/files/fr/web/api/notification/data/index.html @@ -0,0 +1,56 @@ +--- +title: Notification.data +slug: Web/API/notification/data +tags: + - API + - API Notifications + - Notification + - Notifications + - Propriété + - Reference + - données +translation_of: Web/API/Notification/data +--- +

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

+ +

La propriété en lecture seule data de l'interface {{domxref ("Notification")}} renvoie un clone structuré des données de la notification, comme définis à l'aide de l'option data  lors de la création de la notification à l'aide du constructeur {{domxref ("Notification.Notification", "Notification() ")}}.

+ +

Les données de la notification peuvent être des données arbitraires, sans restriction de format que vous souhaitez associer à la notification.

+ +

Syntaxe

+ +
Notification.data
+
+ +

Valeur

+ +

Un clone structuré.

+ +

Spécifications

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

Compatibilité des navigateurs

+ + + +

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

+ +

Voir également

+ + -- cgit v1.2.3-54-g00ecf