Skip to content
import VisibleElements from "@arcgis/core/widgets/Daylight/VisibleElements.js";
Inheritance:
VisibleElementsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget's display on/off.

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

datePicker

Property
Type
boolean

When set to false, neither the date nor the season picker are displayed.

Default value
true

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

Property
Type
boolean

When set to false, the header is not displayed.

Default value
true

playButtons

Property
Type
boolean

When set to false, neither of the play buttons are displayed.

Default value
true

shadowsToggle

Property
Type
boolean

When set to false, the shadows checkbox is not displayed.

Default value
true

sunLightingToggle

Property
Type
boolean

When set to false, the sun lighting checkbox is not displayed.

Default value
true

timezone

Property
Type
boolean

When set to false, the timezone selector is not displayed.

Default value
true