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/actions/index.md | 49 +++++++++----------------- 1 file changed, 17 insertions(+), 32 deletions(-) (limited to 'files/fr/web/api/notification/actions') diff --git a/files/fr/web/api/notification/actions/index.md b/files/fr/web/api/notification/actions/index.md index e65543b120..7d161e703d 100644 --- a/files/fr/web/api/notification/actions/index.md +++ b/files/fr/web/api/notification/actions/index.md @@ -11,48 +11,33 @@ tags: - actions translation_of: Web/API/Notification/actions --- -

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

+{{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()")}}.

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

+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")}}.

-
+> **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

+## Syntaxe -
Notification.actions
+ Notification.actions -

Valeur

+### Valeur -

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

+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écifications - - - - - - - - - - - - - -
SpécificationÉtatCommentaire
{{SpecName('Web Notifications','#dom-notification-actions','actions')}}{{Spec2('Web Notifications')}}Living standard
+| Spécification | État | Commentaire | +| ------------------------------------------------------------------------------------------------ | ---------------------------------------- | --------------- | +| {{SpecName('Web Notifications','#dom-notification-actions','actions')}} | {{Spec2('Web Notifications')}} | Living standard | -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

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

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

Voir également

+## Voir également - +- [Utilisation de l'API Notifications](/fr/docs/Web/API/Notifications_API/Using_the_Notifications_API) +- {{DOMxRef("Notification.maxActions")}} -- cgit v1.2.3-54-g00ecf