Class type Ext_ComponentLoader.configs


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

True or a Ext.LoadMask configuration to enable masking during loading.

Defaults to: false

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

The type of content that is to be loaded into, which can be one of 3 types:

Alternatively, you can pass a function which is called with the following parameters.

The function must return false is loading is not successful. Below is a sample of using a custom renderer:

new Ext.Component({
    loader: {
        url: 'myPage.php',
        renderer: function(loader, response, active) {
            var text = response.responseText;
            loader.getTarget().update('The response is ' + text);
            return true;
        }
    }
});

Defaults to: 'html'

method scripts : bool Js.t Js.prop

True to parse any inline script tags in the response. This only used when using the html renderer.


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

The target Ext.Component for the loader. If a string is passed it will be looked up via the id.