How to make custom widgets (typescript) communicate with each other?
To elaborate, whenever a button clicked on first custom widget it should update a label in the second custom widget (and vice versa).
HTML5, CSS, JavaScript, and JavaScript FrameworksEsri Young Professionals Network Esri webmap Esri Technical Support Rene Rubalcava
arcgis javascript api 4.x typescript #jsx #accessor
Solved! Go to Solution.
You could have another class that takes in these widgets and handles communication between them. There isn't a defined or suggested way to do this within the API. The custom widgets should just have events or properties that the other widget can listen to in order to update itself.
You could have another class that takes in these widgets and handles communication between them. There isn't a defined or suggested way to do this within the API. The custom widgets should just have events or properties that the other widget can listen to in order to update itself.
Thank you Matt Driscoll