The sub-element referencing multiple properties or metrics.
This element can be placed only into another widget supporting composite-parts. A composite-part can be used to group multiple information (properties, metrics) into a single value by using a specific filter.
code_blocksCode View
Template Syntax
Below you can find some examples of how to use the component within a template.
<composite-part name="Temperature" filter="valueWithThreshold"> <metric name="temperature"></metric> <property name="threshold"></property> </composite-part>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Composite Part <composite-part> | |||||
---|---|---|---|---|---|
PROPERTIES | |||||
Description | The composite-part description. Type: STRING | Optional description="fooBar" |
||||
Filter | The filter applied on the composite-part to transform or display its value. Type: FILTER | Optional filter="fooBarFilter" |
||||
Label | The label displayed by the widget. Type: STRING | Optional label="fooBar" |
||||
Name | The composite-part name. Type: STRING | Optional name="fooBar" |
||||
Visibility Condition | The expression that allows you to reduce the visibility of the element. Type: STRING | Optional *ngIf="getUser().organizationId != null" |
||||
SUB-ELEMENTS | |||||
Metric | The metric whose value must be loaded within the composite-part. Multiple | Optional <metric name="Temperature"></metric>
|
||||
Property | The property whose value must be loaded within the composite-part. Multiple | Optional <property name="serialNumber"></property>
|
Comments
0 comments
Please sign in to leave a comment.