I'm trying to apply the concepts in this JavaScript API sample to Web AppBuilder, but I'm having a hard time figuring out where to put the code. Anyone have any ideas?
https://developers.arcgis.com/javascript/3/jssamples/mapconfig_smoothpan.html
In the ConfigManager.js would be my recomendation.