-
Notifications
You must be signed in to change notification settings - Fork 133
Platform: Object List Item Component V1.0 Technical Design
The object list item is mainly used in the master list of apps, where it primarily offers a quick overview of an object within a list. The text sizes are limited (before the text truncates) and object list items usually allow the user to navigate to the details of an object. Therefore, the object list item should only contain essential information that is necessary for the user to identify which object to work on first. Long descriptive texts should be avoided.
<fdp-list
[id]="list Id"
[headerTitle]="header title"
[footerText]="footer text"
--------
>
<fdp-object-list-item *ngFor="let item of listItems"
[id]="{{item.id}}"
[title]="{{item.name}}"
[titleDirection]="{{item.(ltr|rtl|default)}}"
[icon]="{{item.icon}}"
[number]="{{item.number}}"
[numberStatus]="{{item.(error| information| none| success| warning)}}"
[numberTextDirection]="{{item.(ltr|rtl|default)}}"
[numberUnit]="{{item.unit}}"
[introductionText]=="{{item.introduction}}"
[introTextDirection]="{{item.(ltr|rtl|default)}}"
[type]="{{item.active}}"
(click)="onitemPress">
<fdp-object-attribute [textActive]="{{item.(true|false)}}"....../>
<fd-object-status [objectStatus]=“{{item.(critical..)}}” [message]=“{{item.(critical..)}}”>{{item.text}}</fd-object-status>
<fdp-object-marker [marker]="{{item.Flagged}}" [visibleItem]=“{{item.(icons)}}”..../>
<ng-content></ng-content>
</fdp-object-list-item>
</fdp-list>
id of the object list item it is optional.
title of the of item
Position text of the item title in below positions.
- LTR (left-to-right): left-to-right text direction
- RTL (right-to-left): right-to-left text direction
- default: the item title inherits the text direction from its parent controller.
export type Direction = 'ltr'|'rtl'|'default';
Attribute used to hold item number. displayed on screen unlike id.
Defines number and number unit value status.
export type Status = 'error| information| none| success| warning';
Position text of the item number in below directions.
- LTR (left-to-right): left-to-right text direction
- RTL (right-to-left): right-to-left text direction
- default: the item title inherits the text direction from its parent controller.
export type Direction = 'ltr'|'rtl'|'default';
Defines units for the item number.
consists of introductory text for the item.
Position text of the item introduction in below directions.
- LTR (left-to-right): left-to-right text direction
- RTL (right-to-left): right-to-left text direction
- default: the item title inherits the text direction from its parent controller.
export type Direction = 'ltr'|'rtl'|'default';
Icon that identifies the item
Fires when item is clicked.
Template:
<li fd-list-item id="listitem”………………….>
<ng-content></ng-content>
</li>
N/A
N/A
- Object Attribute
- Object Status
- ObjectMarker
- List signature
- List signature
- ObjectAttribute
- ObjectStatus
- ObjectMarker
Are used along with this component.