Displays the list of actions visible by the user and navigation context.
Design View
In the visual editor, you can find the Action List icon under the Alerts and Actions component palette group.
You can drag and drop the widget in the grid, and then according to your needs configure the following sub-elements:
Property: the property whose label and current value must be rendered as a widget row.
Code View
Template Syntax
Below you can find some examples of how to use the component within a template.
<action-group-list-widget [title]="'Actions'"> </action-group-list-widget>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Action List <action-list-widget> | |
---|---|
PROPERTIES | |
CSS Class | The name(s) of the CSS class used to customize the widget layout.
Type: STRING | Optional class="my-custom-class" |
Empty Message | The blank message to be displayed in the widget in case no item was found. To manage translations, you can define a label and use the key as the value of the property.
Type: STRING | Optional emptyMessage="No customer found" |
Status | The statuses of the actions to load.
Type: ENUM_ARRAY | Optional | Values: TODO DISCARDED DONE [status]="['V1', 'V2', 'VN']" |
Title | The title displayed on the top part of the widget box.
Type: STRING | Optional [title]="'Details'" |
Topic | The topics of the actions to load.
Type: STRING | Optional topic="fooBar" |
Type | The types of the actions to load.
Type: STRING | Optional type="fooBar" |
Visibility Condition | The expression that allows you to reduce the visibility of the element.
Type: STRING | Optional *ngIf="getUser().organizationId != null" |
SUB-ELEMENTS | |
Property | The property whose label and current value must be rendered as a widget row. multiple | optional <property name="serialNumber"></property> |
Property <property> | |
---|---|
PROPERTIES | |
Filter | The name of the filter used to transform and display values.
Type: FILTER | Optional filter="fooBarFilter" |
Label | The property alternative label.
Type: STRING | Optional label="Temperature" |
Name | The property whose value must be loaded by the widget.
Type: PROPERTY | Mandatory name="serialNumber" |
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.