restores the saved state of a layout
| state | object | a state object |
| factory | function | a function that implements the logic of creating inner layout views |
| configOnly | boolean | set to *true* to restore a serialized structure without rendering |
$$("layout").restore(state, factory,configOnly);