class type t =Inheritsobject
..end
method clear : Js.js_string Js.t -> unit Js.meth
Clears 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.meth
Returns 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.meth
Gets 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.meth
Sets 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.meth
Configures the default state provider for your application
Parameters:
Ext_state_Provider.t Js.t
The state provider to set