From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- .../fr/web/api/notification/maxactions/index.html | 63 ---------------------- files/fr/web/api/notification/maxactions/index.md | 63 ++++++++++++++++++++++ 2 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 files/fr/web/api/notification/maxactions/index.html create mode 100644 files/fr/web/api/notification/maxactions/index.md (limited to 'files/fr/web/api/notification/maxactions') diff --git a/files/fr/web/api/notification/maxactions/index.html b/files/fr/web/api/notification/maxactions/index.html deleted file mode 100644 index df61031657..0000000000 --- a/files/fr/web/api/notification/maxactions/index.html +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Notification.maxActions -slug: Web/API/notification/maxActions -tags: - - API - - API Notifications - - Notification - - Notifications - - Propriété - - Reference - - actions -translation_of: Web/API/Notification/maxActions ---- -

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

- -

L'attribut maxActions de l'interface {{domxref ("Notification")}} renvoie le nombre maximal d'actions prises en charge par l'appareil et l'agent utilisateur. En effet, c'est le nombre maximum d'éléments dans le tableau {{domxref ("Notification.actions")}} qui seront respectés par l'agent utilisateur.

- -

Syntaxe

- -
Notification.maxActions
-
- -

Valeur

- -

Un entier {{JSxRef ("Number")}} qui indique le plus grand nombre d'actions de notification pouvant être présentées à l'utilisateur par l'agent utilisateur et l'appareil.

- -

Exemples

- -

L'extrait de code suivant enregistre le nombre maximal d'actions prises en charge.

- -
const { maxActions } = Notification
-console.log(`This device can display at most ${maxActions} actions on each notification.`);
-
- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationStatusComment
{{SpecName("Web Notifications")}}{{Spec2("Web Notifications")}}Living standard
- -

Compatibilité des navigateurs

- -

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

- -

Voir également

- - diff --git a/files/fr/web/api/notification/maxactions/index.md b/files/fr/web/api/notification/maxactions/index.md new file mode 100644 index 0000000000..df61031657 --- /dev/null +++ b/files/fr/web/api/notification/maxactions/index.md @@ -0,0 +1,63 @@ +--- +title: Notification.maxActions +slug: Web/API/notification/maxActions +tags: + - API + - API Notifications + - Notification + - Notifications + - Propriété + - Reference + - actions +translation_of: Web/API/Notification/maxActions +--- +

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

+ +

L'attribut maxActions de l'interface {{domxref ("Notification")}} renvoie le nombre maximal d'actions prises en charge par l'appareil et l'agent utilisateur. En effet, c'est le nombre maximum d'éléments dans le tableau {{domxref ("Notification.actions")}} qui seront respectés par l'agent utilisateur.

+ +

Syntaxe

+ +
Notification.maxActions
+
+ +

Valeur

+ +

Un entier {{JSxRef ("Number")}} qui indique le plus grand nombre d'actions de notification pouvant être présentées à l'utilisateur par l'agent utilisateur et l'appareil.

+ +

Exemples

+ +

L'extrait de code suivant enregistre le nombre maximal d'actions prises en charge.

+ +
const { maxActions } = Notification
+console.log(`This device can display at most ${maxActions} actions on each notification.`);
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatusComment
{{SpecName("Web Notifications")}}{{Spec2("Web Notifications")}}Living standard
+ +

Compatibilité des navigateurs

+ +

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

+ +

Voir également

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