WindowControlsOverlay 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.
The interface of the Window Controls Overlay API exposes
information about the geometry
of the title bar area in desktop Progressive Web Apps, and an
event to know whenever it changes. This interface is accessible
from Navigator.windowControlsOverlay
.
EventTarget
WindowControlsOverlay
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- WindowControlsOverlay()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ongeometrychange
↔ EventHandlerNonNull<
Event> ? -
Available on WindowControlsOverlay, provided by the PropsWindowControlsOverlay extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
Available on WindowControlsOverlay, provided by the PropsWindowControlsOverlay 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
-
getTitlebarAreaRect(
) → DOMRect -
Available on WindowControlsOverlay, provided by the PropsWindowControlsOverlay 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