Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1047494 of PresentationConnectionCloseEvent

  • Revision slug: Web/API/PresentationConnectionCloseEvent
  • Revision title: PresentationConnectionCloseEvent
  • Revision id: 1047494
  • Created:
  • Creator: jpmedley
  • Is current revision? Yes
  • Comment Add property name and descriptions.

Revision Content

The PresentationConnectionCloseEvent interface of the Presentation API is fired on a {{domxref("PresentationConnection")}} when it is closed.

Constructor

{{domxref("PresentationConnectionCloseEvent.PresentationConnectionCloseEvent()")}}
Crestes a new PresentationConnectionCloseEvent.

Properties

{{domxref("PresentationConnectionCloseEvent.message")}} {{readonlyinline}}
A human-readable message that provides more information about why the connection was closed.
{{domxref("PresentationConnectionCloseEvent.reason")}} {{readonlyinline}}
Indicates why the connection was closed. This property takes one of the following values: error, closed, or wentaway.

Specifications

Specification Status Comment
{{SpecName('Presentation','#interface-presentationconnectionclosedevent','PresentationConnectionCloseEvent interface')}} {{Spec2('Presentation')}} Initial definition.

Browser Compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support

{{CompatChrome (50.0)}}

{{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}}
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support {{CompatNo}} {{CompatNo}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatChrome (50.0)}}

Revision Source

<p>The <strong><code>PresentationConnectionCloseEvent</code></strong> interface of the&nbsp;<a href="/Web/API/Presentation_API">Presentation API</a>&nbsp;is fired on a {{domxref("PresentationConnection")}}&nbsp;when it is closed.</p>

<h2 id="Constructor">Constructor</h2>

<dl>
 <dt>{{domxref("PresentationConnectionCloseEvent.PresentationConnectionCloseEvent()")}}</dt>
 <dd>Crestes a new PresentationConnectionCloseEvent.</dd>
</dl>

<h2 id="Properties">Properties</h2>

<dl>
 <dt>{{domxref("PresentationConnectionCloseEvent.message")}} {{readonlyinline}}</dt>
 <dd>A human-readable message that provides more information about why the connection was closed.</dd>
 <dt>{{domxref("PresentationConnectionCloseEvent.reason")}} {{readonlyinline}}</dt>
 <dd>Indicates why the connection was closed. This property takes one of the following values: <code>error</code>, <code>closed</code>, or <code>wentaway</code>.</dd>
</dl>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('Presentation','#interface-presentationconnectionclosedevent','PresentationConnectionCloseEvent interface')}}</td>
   <td>{{Spec2('Presentation')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_Compatibility">Browser Compatibility</h2>

<div>{{CompatibilityTable}}</div>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari (WebKit)</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>
    <p>{{CompatChrome (50.0)}}</p>
   </td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Android Webview</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>Firefox OS</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
   <th>Chrome for Android</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatChrome (50.0)}}</td>
  </tr>
 </tbody>
</table>
</div>
Revert to this revision