Skip to content
import DirectionsVisibleElements from "@arcgis/core/widgets/Directions/DirectionsVisibleElements.js";
Inheritance:
DirectionsVisibleElementsAccessor
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.

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.

editRouteButton

Property
Type
boolean

Indicates whether to the Edit Route button will be displayed. Default is true.

Default value
true

layerDetails

Property
Type
boolean

Indicates whether to a link to the route layer portal-item (if any) will be displayed. Default is true.

Default value
true

printButton

Property
Type
boolean

(beta) Indicates whether to the Print button will be displayed. Default is true.

Default value
true

saveAsButton

Property
Type
boolean

Indicates whether to the Save As button will be displayed. Default is true.

Default value
true

saveButton

Property
Type
boolean

Indicates whether to the Save button will be displayed. Default is true.

Default value
true