restore

restores the saved state of a layout

void restore(object state,function factory,boolean configOnly);

Parameters

stateobjecta state object
factoryfunctiona function that implements the logic of creating inner layout views
configOnlybooleantrue to restore a serialized structure without rendering

Example

$$("layout").restore(state, factory,configOnly);

See also
Back to top