pointerlockerror

  • Revision slug: Web/Reference/Events/pointerlockerror
  • Revision title: pointerlockerror
  • Revision id: 403023
  • Created:
  • Creator: Sheppy
  • Is current revision? Yes
  • Comment Moved From DOM/Mozilla_event_reference/pointerlockerror to Web/Reference/Events/pointerlockerror

Revision Content

The pointerlockerror event is fired when locking the pointer failed (for technical reasons or because the permission was denied).

General info

Specification
Pointer Lock
Interface
Event
Bubbles
Yes
Cancelable
No
Target
Document
Default Action
None

Properties

{{OpenEventProperties()}}{{CloseEventProperties()}}

See also

Revision Source

<p>The <code>pointerlockerror</code> event is fired when locking the pointer failed (for technical reasons or because the permission was denied).</p>
<h2 id="General_info">General info</h2>
<dl>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Specification</dt>
  <dd style="margin: 0 0 0 120px;">
    <a class="external" href="http://www.w3.org/TR/pointerlock/#pointerlockchange-and-pointerlockerror-events">Pointer Lock</a></dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Interface</dt>
  <dd style="margin: 0 0 0 120px;">
    Event</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Bubbles</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Cancelable</dt>
  <dd style="margin: 0 0 0 120px;">
    No</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Target</dt>
  <dd style="margin: 0 0 0 120px;">
    Document</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Default Action</dt>
  <dd style="margin: 0 0 0 120px;">
    None</dd>
</dl>
<h2 id="Properties">Properties</h2>
<p>{{OpenEventProperties()}}{{CloseEventProperties()}}</p>
<h2 id="Related_Events">Related Events</h2>
<ul>
  <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla_event_reference/pointerlockchange"><code>pointerlockchange</code></a></li>
</ul>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="/en-US/docs/API/Pointer_Lock_API">Using Pointer Lock API</a></li>
</ul>
Revert to this revision