class type t =Inheritsobject..end
method clear : Js.js_string Js.t -> unit Js.methClears a value from the state
Parameters:
Js.js_string Js.t The key name
method get : 'a 'b. Js.js_string Js.t -> 'a Js.t -> 'b Js.t Js.methReturns the current value for a key
Parameters:
Js.js_string Js.t
The key name
_ Js.t
The default value to return if the key lookup does not match
Returns:
_ Js.t The state data
method getProvider : Ext_state_Provider.t Js.t Js.methGets the currently configured state provider
Returns:
Ext_state_Provider.t Js.t The state provider
method set : 'c. Js.js_string Js.t -> 'c Js.t -> unit Js.methSets the value for a key
Parameters:
Js.js_string Js.t
The key name
_ Js.t The state data
method setProvider : Ext_state_Provider.t Js.t -> unit Js.methConfigures the default state provider for your application
Parameters:
Ext_state_Provider.t Js.t
The state provider to set