import DirectionsVisibleElements from "@arcgis/core/widgets/Directions/DirectionsVisibleElements.js";const DirectionsVisibleElements = await $arcgis.import("@arcgis/core/widgets/Directions/DirectionsVisibleElements.js");- Inheritance:
- DirectionsVisibleElements→
Accessor
- 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
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
| | ||
| | ||
| | ||
| | ||
| |
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