Widgets
Samples
Demos
Forum
Services
Documentation
addView
adjust
attachEvent
bind
blockEvent
callEvent
define
destructor
detachEvent
disable
enable
getChildViews
getFormView
getNode
getParentView
getTopParentView
hasEvent
hide
index
isEnabled
isVisible
mapEvent
markDropArea
movePortlet
queryView
reconstruct
removeView
resize
resizeChildren
restore
serialize
show
showBatch
unbind
unblockEvent
Start
API Reference
ui.portlet
Methods
restore
restores the saved state of a portlet
void
restore
(
object
state
,
function
factory
);
state
object
a state object
factory
function
a function that implements the logic of creating inner layout views
Example
$$
(
"portlets"
)
.
restore
(
state
,
factory
)
;
Related samples
Portlet: Save State
See also
API
serialize
Articles
Portlet
Back to top