Class type Ext_ElementLoader.configs


class type configs = object .. end
Inherits
method ajaxOptions : 'a. 'a Js.t Js.prop

Any additional options to be passed to the request, for example timeout or headers.


method autoLoad : 'b. 'b Js.t Js.prop

True to have the loader make a request as soon as it is created. This argument can also be a set of options that will be passed to load is called.

Defaults to: false

method baseParams : 'c. 'c Js.t Js.prop

Params that will be attached to every request. These parameters will not be overridden by any params in the load options.


method callback : 'd. 'd Js.callback Js.prop

A function to be called when a load request finishes. Will be called with the following config parameters:


method failure : 'e. 'e Js.callback Js.prop

A function to be called when a load request fails. Will be called with the following config parameters:


method loadMask : 'f. 'f Js.t Js.prop

True or a string to show when the element is loading.

Defaults to: false

method params : 'g. 'g Js.t Js.prop

Any params to be attached to the Ajax request. These parameters will be overridden by any params in the load options.


method renderer : 'h. 'h Js.callback Js.prop

A custom function to render the content to the element. The function should return false if the renderer could not be applied. The passed parameters are:


method scope : 'i. 'i Js.t Js.prop

The scope to execute the success and failure functions in.


method scripts : bool Js.t Js.prop

True to parse any inline script tags in the response.

Defaults to: false

method success : 'j. 'j Js.callback Js.prop

A function to be called when a load request is successful. Will be called with the following config parameters:


method target : 'k. 'k Js.t Js.prop

The target element for the loader. It can be the DOM element, the id or an Ext.Element.


method url : Js.js_string Js.t Js.prop

The url to retrieve the content from.