A object is associated with available presentation displays and represents the presentation display availability for a presentation request. If the controlling user agent can monitor the list of available presentation displays in the background (without a pending request to PresentationAvailability), the start() object MUST be implemented in a controlling browsing context.PresentationAvailability
The value attribute MUST return the last value it was set to. The value is updated by the monitor the list of available presentation displays algorithm.
The onchange attribute is an event handler whose corresponding event handler event type is change.
PresentationAvailability.value Read only
value attribute MUST return the last value it was set to.PresentationAvailability.onchangeNone.
| Specification | Status | Comment |
|---|---|---|
| Presentation API The definition of 'PresentationAvailability interface' in that specification. | Candidate Recommendation | Initial definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 48 | ? | 51
|
? | ? | ? |
onchange
|
48 | ? | 51
|
? | ? | ? |
value
|
48 | ? | 51
|
? | ? | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | No | 48 | ? | 51
|
? | ? | ? |
onchange
|
No | 48 | ? | 51
|
? | ? | ? |
value
|
No | 48 | ? | 51
|
? | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability