class type t =Inheritsobject..end
method isLoader : bool Js.t Js.proptrue in this class to identify an object as an instantiated ElementLoader, or subclass thereof.
Defaults to: true
method abort : unit Js.methAborts the active load request
method destroy : unit Js.methDestroys the loader. Any active requests will be aborted.
method getTarget : 'a. 'a Js.t Js.methReturns the target of this loader.
Returns:
#Ext_Component.t Js.t
The target or null if none exists.
method isAutoRefreshing : bool Js.t Js.methChecks whether the loader is automatically refreshing. See startAutoRefresh.
Returns:
bool Js.t
True if the loader is automatically refreshing
method load : 'b. 'b Js.t -> unit Js.methLoads new data from the server.
Parameters:
_ Js.t
The options for the request. They can be any configuration option that can be specified for the class, with the exception of the target option. Note that any options passed to the method will override any class defaults.
method setTarget : 'c. 'c Js.t -> unit Js.methSets an Ext.Element as the target of this loader. Note that if the target is changed, any active requests will be aborted.
Parameters:
_ Js.t The element or its ID.
method startAutoRefresh : 'd. Js.number Js.t -> 'd Js.t Js.optdef -> unit Js.methAutomatically refreshes the content over a specified period.
Parameters:
Js.number Js.t
The interval to refresh in ms.
_ Js.t (optional)
The options to pass to the load method. See load
method stopAutoRefresh : unit Js.methClears any auto refresh. See startAutoRefresh.