new tart.dataProxy.Xhr()
Base model to handle xhr requests
Extends
Members
- 
    
protectedparams
 - 
    
    
    
 
Methods
- 
    
fetch(callback, opt_fail)
 - 
    
    
    
Fetch data from xhr and call a function with returned data
Name Type Description callbackfunction nullable function to call with returned data.
opt_failfunction optional function to call when request failed.
 - 
    
inherited setParams(params)
 - 
    
    
    
Set params as hash map.
Name Type Description paramsgoog.structs.Map hash map to hold fetch params