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

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

+ +

La propriété en lecture seule lang de l'interface {{domxref ("Notification")}} indique la langue utilisée dans la notification, comme définis à l'aide de l'option lang lors de la création de la notification à l'aide du constructeur {{domxref ("Notification.Notification", "Notification()" )}}.

+ +

La langue elle-même est spécifiée à l'aide d'un {{domxref ("DOMString")}} représentant une balise de langue BCP 47. Consultez la page des codes de langue à 2 lettres ISO de Sitepoint pour une référence simple.

+ +

Syntaxz

+ +
Notification.lang
+
+ +

Valeur

+ +

Une {{domxref("DOMString")}} spécifiant la balise de langue.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationÉtatCommentaire
{{SpecName('Web Notifications','#dom-notification-lang','lang')}}{{Spec2('Web Notifications')}}Living standard
+ +

Browser compatibility

+ + + +

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

+ +

Voir également

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