LayoutSerializer
Implements:
- Serializer<Layout, SerializedLayout>
Serializes/deserializes a layout renderable.
Static Method Summary
Static Public Methods | ||
public static |
register(container: SerializerContainer) Invoked when the serializer is registered. |
Constructor Summary
Public Constructor | ||
public |
constructor(_container: SerializerContainer) Creates an instance of LayoutSerializer. |
Method Summary
Public Methods | ||
public |
Deserializes a serialized layout node. |
|
public |
serialize(node: Layout): SerializedLayout Serializes a Layout renderable. |
Static Public Methods
public static register(container: SerializerContainer) source
Invoked when the serializer is registered.
Params:
Name | Type | Attribute | Description |
container | SerializerContainer |
Public Constructors
public constructor(_container: SerializerContainer) source
Creates an instance of LayoutSerializer.
Params:
Name | Type | Attribute | Description |
_container | SerializerContainer |
Public Methods
public deserialize(node: SerializedLayout): ConfiguredRenderable<Layout> source
Deserializes a serialized layout node.
Params:
Name | Type | Attribute | Description |
node | SerializedLayout |
public serialize(node: Layout): SerializedLayout source
Serializes a Layout renderable.
Params:
Name | Type | Attribute | Description |
node | Layout |