Class type Ext_ElementLoader.t


class type t = object .. end
Inherits
method isLoader : bool Js.t Js.prop

true in this class to identify an object as an instantiated ElementLoader, or subclass thereof.

Defaults to: true

method abort : unit Js.meth

Aborts the active load request


method destroy : unit Js.meth

Destroys the loader. Any active requests will be aborted.


method getTarget : 'a. 'a Js.t Js.meth

Returns the target of this loader.

Returns:


method isAutoRefreshing : bool Js.t Js.meth

Checks whether the loader is automatically refreshing. See startAutoRefresh.

Returns:


method load : 'b. 'b Js.t -> unit Js.meth

Loads new data from the server.

Parameters:


method setTarget : 'c. 'c Js.t -> unit Js.meth

Sets an Ext.Element as the target of this loader. Note that if the target is changed, any active requests will be aborted.

Parameters:


method startAutoRefresh : 'd. Js.number Js.t -> 'd Js.t Js.optdef -> unit Js.meth

Automatically refreshes the content over a specified period.

Parameters:


method stopAutoRefresh : unit Js.meth

Clears any auto refresh. See startAutoRefresh.