Module Ext


module Ext: sig .. end
The Ext namespace (global object) encapsulates all ...

The Ext namespace (global object) encapsulates all classes, singletons, and utility methods provided by Sencha's libraries.

Most user interface Components are at a lower level of nesting in the namespace, but many common utility functions are provided as direct properties of the Ext namespace.

Also many frequently used methods from other classes are provided as shortcuts within the Ext namespace. For example Ext.getCmp aliases Ext.ComponentManager.get.

Many applications are initiated with Ext.onReady which is called once the DOM is ready. This ensures all scripts have been loaded, preventing dependency issues. For example:

Ext.onReady(function(){
    new Ext.Component({
        renderTo: document.body,
        html: 'DOM ready!'
    });
});

For more information about how to use the Ext classes, see:



class type t = object .. end
class type configs = object .. end
class type events = object .. end
class type statics = object .. end
val get_instance : unit -> t Js.t
Singleton instance for lazy-loaded modules.
val instance : t Js.t
Singleton instance.
val of_configs : configs Js.t -> t Js.t
of_configs c casts a config object c to an instance of class t
val to_configs : t Js.t -> configs Js.t
to_configs o casts instance o of class t to a config object