How can we call user-defined ArcGIS JS functions from ExtJS code? e.g. I want to call featureQuery() function from SearchAddress function in the following code.
searchPart: function(){ //ExtJS code
require([],function(){//ArcGIS JS code
function featureQuery(){
}
});
}
searchAddress: function(){//ExtJS code
//I want to call featureQuery function here
}