PresentationAvailability
{{SeeCompatTable}}
{{securecontext_header}}
{{APIRef("Presentation API")}}
A PresentationAvailability
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 start()
), the PresentationAvailability
object MUST be implemented in a controlling browsing context.
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
.
{{InheritanceDiagram}}
Instance properties
{{domxref("PresentationAvailability.value")}}
{{ReadOnlyInline}}
{{Experimental_Inline}}
- : A boolean value indicating whether the given presentation display is available. The
value
attribute MUST return the last value it was set to.
- : A boolean value indicating whether the given presentation display is available. The
Event
{{domxref("PresentationAvailability.change_event", "change")}}
{{Experimental_Inline}}
- : Indicates that the availability of the presentation display has changed.
Instance methods
None.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}