class type events =Inheritsobject
..end
method beforestaterestore : 'a 'b.
(t Js.t -> 'a Js.t -> 'b Js.t -> unit) Js.callback
Js.writeonly_prop
Fires before the state of the object is restored. Return false from an event handler to stop the restore.
Parameters:
Ext_state_Stateful.t Js.t
_ Js.t
The hash of state values returned from the StateProvider. If this event is not vetoed, then the state object is passed to applyState. By default, that simply copies property values into this object. The method maybe overriden to provide custom state restoration.
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method beforestatesave : 'c 'd.
(t Js.t -> 'c Js.t -> 'd Js.t -> unit) Js.callback
Js.writeonly_prop
Fires before the state of the object is saved to the configured state provider. Return false to stop the save.
Parameters:
Ext_state_Stateful.t Js.t
_ Js.t
The hash of state values. This is determined by calling getState() on the object. This method must be provided by the developer to return whetever representation of state is required, by default, Ext.state.Stateful has a null implementation.
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method staterestore : 'e 'f.
(t Js.t -> 'e Js.t -> 'f Js.t -> unit) Js.callback
Js.writeonly_prop
Fires after the state of the object is restored.
Parameters:
Ext_state_Stateful.t Js.t
_ Js.t
The hash of state values returned from the StateProvider. This is passed to applyState. By default, that simply copies property values into this object. The method maybe overriden to provide custom state restoration.
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method statesave : 'g 'h.
(t Js.t -> 'g Js.t -> 'h Js.t -> unit) Js.callback
Js.writeonly_prop
Fires after the state of the object is saved to the configured state provider.
Parameters:
Ext_state_Stateful.t Js.t
_ Js.t
The hash of state values. This is determined by calling getState() on the object. This method must be provided by the developer to return whetever representation of state is required, by default, Ext.state.Stateful has a null implementation.
_ Js.t
The options object passed to Ext.util.Observable.addListener.