trait FullscreenDocument extends Object
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- FullscreenDocument
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
exitFullscreen(): UndefOr[Promise[Unit]]
Stops document's fullscreen element from being displayed fullscreen and fulfills promise when done.
Stops document's fullscreen element from being displayed fullscreen and fulfills promise when done.
Note: Returns
js.UndefOr
because implementations of older versions of this spec may not return a Promise.MDN
-
def
fullscreenElement: raw.Element
Returns the Element that is currently being presented in full-screen mode in this document, or
null
if full-screen mode is not currently in use.Returns the Element that is currently being presented in full-screen mode in this document, or
null
if full-screen mode is not currently in use.MDN
-
def
fullscreenEnabled: Boolean
The fullscreenEnabled attribute tells you whether or not the document is currently in a state that would allow fullscreen mode to be requested.
The fullscreenEnabled attribute tells you whether or not the document is currently in a state that would allow fullscreen mode to be requested.
MDN
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
onfullscreenchange: Function1[raw.Event, _]
Note: May not be available in implementations of older versions of this spec.
-
val
onfullscreenerror: Function1[raw.Event, _]
Note: May not be available in implementations of older versions of this spec.
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
valueOf(): Any
- Definition Classes
- Object