PresentationAvailability
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
APresentationAvailability object is associated with availablepresentation displays and represents thepresentation display availability for a presentation request. If thecontrolling user agent canmonitor the list of available presentation displays in the background (without a pending request tostart()), thePresentationAvailability objectMUST be implemented in acontrolling browsing context.
Thevalue attributeMUST return the last value it was set to. The value is updated by themonitor the list of available presentation displays algorithm.
Theonchange attribute is anevent handler whose correspondingevent handler event type ischange.
In this article
Instance properties
PresentationAvailability.valueRead onlyExperimentalA boolean value indicating whether the given presentation display is available. The
valueattributeMUST return the last value it was set to.
Event
changeExperimentalIndicates that the availability of the presentation display has changed.
Instance methods
None.
Specifications
| Specification |
|---|
| Presentation API> # interface-presentationavailability> |