PresentationConnectionCloseEvent
The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.
Constructor
PresentationConnectionCloseEvent.PresentationConnectionCloseEvent() - Creates a new PresentationConnectionCloseEvent.
Properties
-
PresentationConnectionCloseEvent.message Read only
- A human-readable message that provides more information about why the connection was closed.
-
PresentationConnectionCloseEvent.reason Read only
- Indicates why the connection was closed. This property takes one of the following values:
error, closed, or wentaway.
Specifications
|
Desktop |
|
Chrome |
Edge |
Firefox |
Internet Explorer |
Opera |
Safari |
| Basic support
|
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
PresentationConnectionCloseEvent() constructor
|
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
message
|
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
reason
|
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
|
Mobile |
|
Android webview |
Chrome for Android |
Edge Mobile |
Firefox for Android |
Opera for Android |
iOS Safari |
Samsung Internet |
| Basic support
|
No |
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
PresentationConnectionCloseEvent() constructor
|
No |
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
message
|
No |
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |
reason
|
No |
50 |
? |
51 Disabled
- 51
Disabled
- Disabled From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
|
? |
? |
? |