Module Ext_state_Manager


module Ext_state_Manager: sig .. end
This is the global state manager. By default all c ...

This is the global state manager. By default all components that are "state aware" check this class for state information if you don't pass them a custom state provider. In order for this class to be useful, it must be initialized with a provider when your application initializes. Example usage:

// in your initialization function
init : function(){
   Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
}
 

This class passes on calls from components to the underlying Ext.state.Provider so that there is a common interface that can be used without needing to refer to a specific provider instance in every component.



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