In the 4.x api, I want to change the title attribute of the dom element in the locate widget. The default value is "Default map view" which sounds misleading to the user.
I was thinking of using jquery to target the "esri-locate" and "esri-icon-locate" classes like this:
$(".esri-locate, .esri-icon-locate").prop('title', 'your new title');
This works when I run it in the console, but I can't figure out in which event I should put this to make sure the dom element is available. Any help would be appreciated.