Provides the logic for the Fullscreen widget.
Constructors
-
new FullscreenViewModel(properties)
-
Parameter:properties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Any properties can be set, retrieved or listened to. See the Working with Properties topic.
Name | Type | Summary | Class | |
---|---|---|---|---|
String | The name of the class. more details | more details | Accessor | |
HTMLElement | The HTMLElement to present in fullscreen mode. more details | more details | FullscreenViewModel | |
String | The view model's state. more details | more details | FullscreenViewModel | |
MapView|SceneView | The view associated with the widget instance. more details | more details | FullscreenViewModel |
Property Details
-
Since: ArcGIS API for JavaScript 4.7
-
The name of the class. The declared class name is formatted as
esri.folder.className
.
-
element HTMLElement
-
The HTMLElement to present in fullscreen mode.
-
state Stringreadonly
-
The view model's state.
Possible Values:"active"|"ready"|"feature-unsupported"|"disabled"
- Default Value:disabled
-
The view associated with the widget instance.
Method Overview
Name | Return Type | Summary | Class | |
---|---|---|---|---|
Enter fullscreen more details | more details | FullscreenViewModel | ||
Exit fullscreen more details | more details | FullscreenViewModel | ||
Toggle fullscreen more details | more details | FullscreenViewModel |
Method Details
-
enter()
-
Enter fullscreen
-
exit()
-
Exit fullscreen
-
toggle()
-
Toggle fullscreen