chargingtimechange

  • Revision slug: DOM/Mozilla_event_reference/chargingtimechange
  • Revision title: chargingtimechange
  • Revision id: 366311
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment Moved From Mozilla_event_reference/chargingtimechange to DOM/Mozilla_event_reference/chargingtimechange

Revision Content

The chargingtimechange event is fired when the chargingTime attribute of the battery API has changed.

General info

Specification
Battery
Interface
Event
Bubbles
No
Cancelable
No
Target
navigator.battery
Default Action
None

{{BatteryProperties_Example()}}

Related Events

{{BatteryRelatedEvents()}}

Revision Source

<p>The <code>chargingtimechange</code> event is fired when the <code>chargingTime</code> attribute of the <a href="/en-US/docs/DOM/window.navigator.battery">battery API</a> has changed.</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="https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html">Battery</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;">
    <code>navigator.battery</code></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>
<p>{{BatteryProperties_Example()}}</p>
<h2>Related Events</h2>
<p>{{BatteryRelatedEvents()}}</p>
Revert to this revision