serialize

serializes the current portlet state to a JSON object

object serialize( [function serializer] );

Parameters

serializerfunctiona function that implements serialization logic

Returns

objecta state object

Example

var state = $$("portlets").serialize(serializer);

Related samples

See also
  • API
  • Articles
  • Back to top