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 --- .../ongotpointercapture/index.html | 59 ---------------------- .../ongotpointercapture/index.md | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 files/fr/web/api/globaleventhandlers/ongotpointercapture/index.html create mode 100644 files/fr/web/api/globaleventhandlers/ongotpointercapture/index.md (limited to 'files/fr/web/api/globaleventhandlers/ongotpointercapture') diff --git a/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.html b/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.html deleted file mode 100644 index 02508798b1..0000000000 --- a/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.html +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: GlobalEventHandlers.ongotpointercapture -slug: Web/API/GlobalEventHandlers/ongotpointercapture -translation_of: Web/API/GlobalEventHandlers/ongotpointercapture ---- -
{{ApiRef("HTML DOM")}}
- -
La propriété ongotpointercapture du mixin {{domxref("GlobalEventHandlers")}} est un {{event("Event_handlers", "event handler")}} qui traite les évènements de type {{event("gotpointercapture")}}.
- -

Syntaxe

- -
target.ongotpointercapture = functionRef;
- -

Valeur

- -

functionRef est un nom de fonction ou une expression fonction. La fonction accepte un objet {{domxref("FocusEvent")}} en tant qu'unique argument.

- -

Example

- -
function overHandler(event) {
-  // Obtient le gestionnaire de type "gotpointercapture" de la cible de l'événement
-  let gotCaptureHandler = event.target.ongotpointercapture;
-}
-
-function init() {
-  let el = document.getElementById('target');
-  el.ongotpointercapture = overHandler;
-}
- -

Spécifications

- - - - - - - - - - - - - - -
SpécificationStatusCommentaire
{{SpecName('Pointer Events 2', '#the-gotpointercapture-event', 'onlostpointercapture')}}{{Spec2('Pointer Events 2')}} 
- -

Compatibilité des navigateurs

- - - -

{{Compat("api.GlobalEventHandlers.ongotpointercapture")}}

- -

Voir aussi

- - diff --git a/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.md b/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.md new file mode 100644 index 0000000000..02508798b1 --- /dev/null +++ b/files/fr/web/api/globaleventhandlers/ongotpointercapture/index.md @@ -0,0 +1,59 @@ +--- +title: GlobalEventHandlers.ongotpointercapture +slug: Web/API/GlobalEventHandlers/ongotpointercapture +translation_of: Web/API/GlobalEventHandlers/ongotpointercapture +--- +
{{ApiRef("HTML DOM")}}
+ +
La propriété ongotpointercapture du mixin {{domxref("GlobalEventHandlers")}} est un {{event("Event_handlers", "event handler")}} qui traite les évènements de type {{event("gotpointercapture")}}.
+ +

Syntaxe

+ +
target.ongotpointercapture = functionRef;
+ +

Valeur

+ +

functionRef est un nom de fonction ou une expression fonction. La fonction accepte un objet {{domxref("FocusEvent")}} en tant qu'unique argument.

+ +

Example

+ +
function overHandler(event) {
+  // Obtient le gestionnaire de type "gotpointercapture" de la cible de l'événement
+  let gotCaptureHandler = event.target.ongotpointercapture;
+}
+
+function init() {
+  let el = document.getElementById('target');
+  el.ongotpointercapture = overHandler;
+}
+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatusCommentaire
{{SpecName('Pointer Events 2', '#the-gotpointercapture-event', 'onlostpointercapture')}}{{Spec2('Pointer Events 2')}} 
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.GlobalEventHandlers.ongotpointercapture")}}

+ +

Voir aussi

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