A layout template is a pre-defined prototype of a module:ct-layout/Layout
. A user's available layout templates
can be accessed by calling module:ct-layout/LayoutService#getTemplates
. These layout templates can then be
used to generate new layouts by passing them to module:ct-layout/LayoutService#openNew
.
Methods
get Name() → {String}
Returns the name of the layout template. This is a display name only, and should not be used for identification.
Returns:
The name of the layout template.
- Type
- String
get Property(property Name) → {String}
Returns the value of the layout template's property.
Parameters:
Name | Type | Description |
---|---|---|
propertyName |
String | The name of the property to retrieve. |
Returns:
- Type
- String