serialize

serializes the current layout state to a JSON object

object serialize( [function serializer] );

Parameters

serializerfunctionoptional, a function that implements serialization logic

Returns

objecta state object

Example

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

See also
Back to top