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 --- .../intersectionobserver/takerecords/index.html | 64 ---------------------- .../api/intersectionobserver/takerecords/index.md | 64 ++++++++++++++++++++++ 2 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 files/fr/web/api/intersectionobserver/takerecords/index.html create mode 100644 files/fr/web/api/intersectionobserver/takerecords/index.md (limited to 'files/fr/web/api/intersectionobserver/takerecords') diff --git a/files/fr/web/api/intersectionobserver/takerecords/index.html b/files/fr/web/api/intersectionobserver/takerecords/index.html deleted file mode 100644 index ceb2a5db1e..0000000000 --- a/files/fr/web/api/intersectionobserver/takerecords/index.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: IntersectionObserver.takeRecords() -slug: Web/API/IntersectionObserver/takeRecords -tags: - - API - - Intersection Observer - - Intersection Observer API - - IntersectionObserver - - Method - - NeedsExample - - Reference - - takeRecords -translation_of: Web/API/IntersectionObserver/takeRecords ---- -
{{APIRef("Intersection Observer API")}}
- -

La méthode takeRecords() de l'interface IntersectionObserver renvoie un tableau d'objets IntersectionObserverEntry, un pour chaque élément ciblé qui a subi un changement d'intersection depuis la dernière vérification des intersections, soit explicitement par un appel à cette méthode, soit implicitement par un appel automatique à la fonction de rappel de l'observateur.

- -
-

Note : Si vous utilisez la fonction de rappel pour surveiller ces changements, vous n'avez pas besoin d'appeler cette méthode. L'appel de cette méthode efface la liste des intersections en attente, de sorte que la fonction de rappel ne sera pas exécutée.

-
- -

Syntaxe

- -
intersectionObserverEntries = intersectionObserver.takeRecords();
- -

Paramètres

- -

Aucun.

- -

Valeur de retour

- -

Un tableau d'objets IntersectionObserverEntry, un pour chaque élément cible dont l'intersection avec la racine a changé depuis la dernière vérification des intersections.

- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationStatutCommentaire
- {{SpecName('IntersectionObserver','#dom-intersectionobserver-takerecords','IntersectionObserver.takeRecords()')}} - {{Spec2('IntersectionObserver')}}Définition initiale.
- -

Compatibilité des navigateurs

- -

{{Compat("api.IntersectionObserver.takeRecords")}}

- -

Voir aussi

- - diff --git a/files/fr/web/api/intersectionobserver/takerecords/index.md b/files/fr/web/api/intersectionobserver/takerecords/index.md new file mode 100644 index 0000000000..ceb2a5db1e --- /dev/null +++ b/files/fr/web/api/intersectionobserver/takerecords/index.md @@ -0,0 +1,64 @@ +--- +title: IntersectionObserver.takeRecords() +slug: Web/API/IntersectionObserver/takeRecords +tags: + - API + - Intersection Observer + - Intersection Observer API + - IntersectionObserver + - Method + - NeedsExample + - Reference + - takeRecords +translation_of: Web/API/IntersectionObserver/takeRecords +--- +
{{APIRef("Intersection Observer API")}}
+ +

La méthode takeRecords() de l'interface IntersectionObserver renvoie un tableau d'objets IntersectionObserverEntry, un pour chaque élément ciblé qui a subi un changement d'intersection depuis la dernière vérification des intersections, soit explicitement par un appel à cette méthode, soit implicitement par un appel automatique à la fonction de rappel de l'observateur.

+ +
+

Note : Si vous utilisez la fonction de rappel pour surveiller ces changements, vous n'avez pas besoin d'appeler cette méthode. L'appel de cette méthode efface la liste des intersections en attente, de sorte que la fonction de rappel ne sera pas exécutée.

+
+ +

Syntaxe

+ +
intersectionObserverEntries = intersectionObserver.takeRecords();
+ +

Paramètres

+ +

Aucun.

+ +

Valeur de retour

+ +

Un tableau d'objets IntersectionObserverEntry, un pour chaque élément cible dont l'intersection avec la racine a changé depuis la dernière vérification des intersections.

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
+ {{SpecName('IntersectionObserver','#dom-intersectionobserver-takerecords','IntersectionObserver.takeRecords()')}} + {{Spec2('IntersectionObserver')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.IntersectionObserver.takeRecords")}}

+ +

Voir aussi

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