aboutsummaryrefslogtreecommitdiff
path: root/files/fr/archive/deviceproximity/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/archive/deviceproximity/index.html')
-rw-r--r--files/fr/archive/deviceproximity/index.html84
1 files changed, 84 insertions, 0 deletions
diff --git a/files/fr/archive/deviceproximity/index.html b/files/fr/archive/deviceproximity/index.html
new file mode 100644
index 0000000000..f4eea4fc98
--- /dev/null
+++ b/files/fr/archive/deviceproximity/index.html
@@ -0,0 +1,84 @@
+---
+title: deviceproximity
+slug: Archive/deviceproximity
+translation_of: Archive/API/deviceproximity
+---
+<p>L'événement <strong>deviceproximity</strong> est déclenché lorsque de nouvelles données sont disponibles à partir d'un capteur de proximité.</p>
+
+<h2 id="Informations_générales">Informations générales</h2>
+
+<dl>
+ <dt style="float: left; text-align: right; width: 120px;">Spécification</dt>
+ <dd style="margin: 0 0 0 120px;"><a class="external" href="https://w3c.github.io/proximity/#event-handlers" hreflang="en" lang="en" title="La spécificaction 'Proximity Sensor'">Proximity Sensor</a></dd>
+ <dt style="float: left; text-align: right; width: 120px;">Interface</dt>
+ <dd style="margin: 0 0 0 120px;"><a href="/fr/docs/Web/API/DeviceProximityEvent" title="Cette documentation n'a pas encore été rédigée, vous pouvez aider en contribuant !"><code>DeviceProximityEvent</code></a></dd>
+ <dt style="float: left; text-align: right; width: 120px;">Propagation</dt>
+ <dd style="margin: 0 0 0 120px;">Non</dd>
+ <dt style="float: left; text-align: right; width: 120px;">Annulable</dt>
+ <dd style="margin: 0 0 0 120px;">Non</dd>
+ <dt style="float: left; text-align: right; width: 120px;">Cible</dt>
+ <dd style="margin: 0 0 0 120px;">DefaultView (<code>window</code>)</dd>
+ <dt style="float: left; text-align: right; width: 120px;">Action par défaut</dt>
+ <dd style="margin: 0 0 0 120px;">Aucune</dd>
+</dl>
+
+<h2 id="Propriétés">Propriétés</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Property</th>
+ <th scope="col">Type</th>
+ <th scope="col">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>target</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td><a href="/en-US/docs/Web/API/EventTarget" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them."><code>EventTarget</code></a></td>
+ <td>The event target (the topmost target in the DOM tree).</td>
+ </tr>
+ <tr>
+ <td><code>type</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td><a href="/en-US/docs/Web/API/DOMString" title="DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String."><code>DOMString</code></a></td>
+ <td>The type of event.</td>
+ </tr>
+ <tr>
+ <td><code>bubbles</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td><a href="/en-US/docs/Web/API/Boolean" title="The Boolean object is an object wrapper for a boolean value."><code>Boolean</code></a></td>
+ <td>Whether the event normally bubbles or not.</td>
+ </tr>
+ <tr>
+ <td><code>cancelable</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td><a href="/en-US/docs/Web/API/Boolean" title="The Boolean object is an object wrapper for a boolean value."><code>Boolean</code></a></td>
+ <td>Whether the event is cancellable or not.</td>
+ </tr>
+ <tr>
+ <td><code>value</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td>Double (float)</td>
+ <td>The sensor data for ambient light in Lux.</td>
+ </tr>
+ <tr>
+ <td><code>min</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td>Double (float)</td>
+ <td>The minimum value in the range the sensor detects (if available, 0 otherwise).</td>
+ </tr>
+ <tr>
+ <td><code>max</code> <span class="inlineIndicator readOnly readOnlyInline" title="Cette valeur ne peut pas être changée.">Lecture seule </span></td>
+ <td>Double (float)</td>
+ <td>The maximum value in the range the sensor detects (if available, 0 otherwise).</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Evénement_liés">Evénement liés</h2>
+
+<ul>
+ <li><code><a href="/fr/docs/Web/Reference/Events/userproximity" title="/fr/docs/Web/Reference/Events/userproximity">userproximity</a></code></li>
+</ul>
+
+<h2 id="Voir_aussi">Voir aussi</h2>
+
+<ul>
+ <li><a href="/fr/docs/Web/API/DeviceProximityEvent" title="Cette documentation n'a pas encore été rédigée, vous pouvez aider en contribuant !"><code>DeviceProximityEvent</code></a> Object definition</li>
+</ul>