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

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

+ +

La propriété actions en lecture seule de l'interface {{domxref ("Notification")}} renvoie la liste des {{domxref ("NotificationAction")}} objets définis à l'aide de l'option actions lors de la création de la notification à l'aide du constructeur {{domxref("Notification.Notification","Notification()")}}. Il s'agit d'une liste des actions définies par l'application que l'utilisateur peut choisir de prendre directement depuis le contexte d'une notification.

+ +
+

Note: Le périphérique et l'agent utilisateur peuvent ne pouvoir afficher qu'un nombre limité d'actions (en raison, par exemple, d'un espace d'écran limité). Cette limite peut être déduite de {{DOMxRef ("Notification.maxActions")}}.

+
+ +

Syntaxe

+ +
Notification.actions
+ +

Valeur

+ +

Un tableau en lecture seule d'objets {{domxref ("NotificationAction")}}, chacun décrivant une action unique que l'utilisateur peut choisir dans une notification.

+ +

Spécifications

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

Compatibilité des navigateurs

+ + + +

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

+ +

Voir également

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