ArcGIS Direction widget control - Using EsriGISFoundation_20180910T151005857
As part of our requirement, we need to implement the Direction widget control from arcgis.com. https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/ We have included component "EsriGISFoundation_20180910T151005857" in our application and able to use the existing sample control which are provided in the components.
When we try to implement the above js in the esri GIS component. We are not able to achieve it. Can you please guide us how to implement direction widget using "EsriGISFoundation_20180910T151005857" ? Can you please also help us to achieve the code?