progress

  • Revision slug: Mozilla_event_reference/progress_(appcache_event)
  • Revision title: progress
  • Revision id: 323289
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment

Revision Content

The progress event is fired when the user agent is downloading resources listed by the manifest.

General info

Specification
Offline
Interface
ProgressEvent
Bubbles
No
Cancelable
No
Target
applicationCache
Default Action
None

Properties

Property Type Description
target EventTarget (DOM element) The event target (the topmost target in the DOM tree). Read Only.
type string The type of event. Read only.
canBubble boolean Does the event normally bubble? Read only.
cancelable boolean Is it possible to cancel the event? Read only.
lengthComputable boolean Specifies whether or not the total size of the transfer is known. Read only.
loaded unsigned long (long) The number of bytes transferred since the beginning of the operation. This doesn't include headers and other overhead, but only the content itself. Read only.
lengthComputable unsigned long (long) The total number of bytes of content that will be transferred during the operation. If the total size is unknown, this value is zero. Read only.

Related Events

{{AppcacheRelatedEvents()}}

See also

Revision Source

<p>The <code>progress</code> event is fired when the user agent is downloading resources listed by the manifest.</p>
<h2 id="General_info">General info</h2>
<dl>
  <dt style="float: left; text-align: right; width: 120px;">
    Specification</dt>
  <dd style="margin: 0 0 0 120px;">
    <a class="external" href="http://dev.w3.org/html5/spec/offline.html">Offline</a></dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Interface</dt>
  <dd style="margin: 0 0 0 120px;">
    ProgressEvent</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Bubbles</dt>
  <dd style="margin: 0 0 0 120px;">
    No</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Cancelable</dt>
  <dd style="margin: 0 0 0 120px;">
    No</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Target</dt>
  <dd style="margin: 0 0 0 120px;">
    applicationCache</dd>
  <dt style="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>
<table class="standard-table">
  <tbody>
    <tr>
      <td class="header">Property</td>
      <td class="header">Type</td>
      <td class="header">Description</td>
    </tr>
    <tr>
      <td><code>target</code></td>
      <td>EventTarget (DOM element)</td>
      <td>The event target (the topmost target in the DOM tree). Read Only.</td>
    </tr>
    <tr>
      <td><code>type</code></td>
      <td>string</td>
      <td>The type of event. Read only.</td>
    </tr>
    <tr>
      <td><code>canBubble</code></td>
      <td>boolean</td>
      <td>Does the event normally bubble? Read only.</td>
    </tr>
    <tr>
      <td><code>cancelable</code></td>
      <td>boolean</td>
      <td>Is it possible to cancel the event? Read only.</td>
    </tr>
    <tr>
      <td><code>lengthComputable</code></td>
      <td>boolean</td>
      <td>Specifies whether or not the total size of the transfer is known. Read only.</td>
    </tr>
    <tr>
      <td><code>loaded</code></td>
      <td>unsigned long (long)</td>
      <td>The number of bytes transferred since the beginning of the operation. This doesn't include headers and other overhead, but only the content itself. Read only.</td>
    </tr>
    <tr>
      <td><code>lengthComputable</code></td>
      <td>unsigned long (long)</td>
      <td>The total number of bytes of content that will be transferred during the operation. If the total size is unknown, this value is zero. Read only.</td>
    </tr>
  </tbody>
</table>
<h2>Related Events</h2>
<p>{{AppcacheRelatedEvents()}}</p>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="/en-US/docs/Offline_resources_in_Firefox">Using the Application Cache</a></li>
</ul>
Revert to this revision