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

La méthode unobserve() de l'interface IntersectionObserver indique à l'objet IntersectionObserver courant de cesser d'observer l'élément cible spécifié.

- -

Syntaxe

- -
IntersectionObserver.unobserve(target);
- -

Paramètres

- -
-
target
-
L'élément à cesser d'observer. Si l'élément spécifié n'est pas en cours d'observation, cette méthode ne fait rien et ne lève pas d'exception.
-
- -

Valeur de retour

- -

undefined.

- -

Exemple

- -

Ce fragment de code illustre la création d'un observateur, l'ajout d'un élément sous observation puis l'arrêt de cette d'observation.

- -
let observer = new IntersectionObserver(callback);
-observer.observe(document.getElementById("elementAObserver"));
-
-/* ... */
-
-observer.unobserve(document.getElementById("elementAObserver"));
- -

Spécifications

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

Compatibilité des navigateurs

- -

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

- -

Voir aussi

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

La méthode unobserve() de l'interface IntersectionObserver indique à l'objet IntersectionObserver courant de cesser d'observer l'élément cible spécifié.

+ +

Syntaxe

+ +
IntersectionObserver.unobserve(target);
+ +

Paramètres

+ +
+
target
+
L'élément à cesser d'observer. Si l'élément spécifié n'est pas en cours d'observation, cette méthode ne fait rien et ne lève pas d'exception.
+
+ +

Valeur de retour

+ +

undefined.

+ +

Exemple

+ +

Ce fragment de code illustre la création d'un observateur, l'ajout d'un élément sous observation puis l'arrêt de cette d'observation.

+ +
let observer = new IntersectionObserver(callback);
+observer.observe(document.getElementById("elementAObserver"));
+
+/* ... */
+
+observer.unobserve(document.getElementById("elementAObserver"));
+ +

Spécifications

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

Compatibilité des navigateurs

+ +

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

+ +

Voir aussi

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