Includes the content defined in another template.
Design View
In the visual editor, you can find the Include Template icon under the Page Composition component palette group.
Code View
Template Syntax
Below you can find some examples of how to use the component within a template.
<include-template name="commands-box"></include-template>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
<include-template> | |
---|---|
PROPERTIES | |
CSS Class | The name(s) of the CSS class used to customize the widget layout.
Type: STRING | Optional class="my-custom-class" |
Template Name | The name of the template to include.
Type: STRING | Mandatory name="fooBar" |
Visibility Condition | The expression that allows you to reduce the visibility of the element.
Type: STRING | Optional *ngIf="getUser().organizationId != null" |
Comments
0 comments
Please sign in to leave a comment.