PresentationAvailability class
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.Secure context: This feature is available only in
secure contexts (HTTPS), in some or all supporting browsers.
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 start()
), the 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
.
EventTarget
PresentationAvailability
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- PresentationAvailability()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onchange
↔ EventHandlerNonNull<
Event> ? -
Available on PresentationAvailability, provided by the PropsPresentationAvailability extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → bool
-
Available on PresentationAvailability, provided by the PropsPresentationAvailability extension
no setter
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited