mozilla

Revision 323399 of smartcard-insert

  • Revision slug: Mozilla_event_reference/smartcard-insert
  • Revision title: smartcard-insert
  • Revision id: 323399
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment

Revision Content

The smartcard-insert event is fired when the insertion of a smart card has been detected.

General info

Specification
Mozilla specific
Interface
Event
Bubbles
No
Cancelable
No
Target
document
Default Action
None

Properties

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

Example

document.addEventListener("smartcard-insert", smartcardChangeHandler );

Related Events

See also

Revision Source

<p>The <code>smartcard-insert</code> event is fired when the insertion of a smart card has been detected.</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="/en-US/docs/JavaScript_crypto">Mozilla specific</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;">
    No</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="Example">Example</h2>
<pre class="brush:js;">
document.addEventListener("smartcard-insert", smartcardChangeHandler );
</pre>
<h2>Related Events</h2>
<ul>
  <li><a href="/en-US/docs/Mozilla_event_reference/smartcard-remove"><code>smartcard-remove</code></a></li>
</ul>
<h2>See also</h2>
<ul>
  <li><a href="/en-US/docs/JavaScript_crypto">JavaScript crypto</a></li>
</ul>
Revert to this revision