I am using Javascript API for ArcGIS version 4. I have a map with one layer and Editor Widget where one value can be edited.
Is there a way to detect click on "update" button in the Editor Widget? I found the button class from web-page, but it seems to be a general name (<button class="esri-editor__control-button esri-button">Update</button>).