Integration of ArcGIS JS API code with ExtJS

598
0
06-21-2014 10:12 AM
BhavinSanghani
Occasional Contributor II
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
}
0 Kudos
0 Replies