-
Notifications
You must be signed in to change notification settings - Fork 137
Platform: Grid List Item Component V1.0 Technical Design
sKudum edited this page Mar 18, 2020
·
6 revisions
The items are placed on a grid. To specify the design of items. Be aware that the item itself is responsible for its own responsiveness.
Use the grid list only, if your content profits from the format. This can apply to images, charts, but also to object cards or quick views. Another option is to mimick the format (but not the visual) of existing objects (e.g. business cards).
<fdp-grid-list
[id]="list Id"
[headerTitle]="header title"
[footerText]="footer text"
--------
>
<fdp-object-list-item *ngFor="let item of listItems"
[id]="{{item?.id}}"
[disabled]="{{item?.(true|false)}}"
[counter]="{{item?.count}}"
[type]="{{item?.(active| detail| detailsAndactive| inactive| navigatio)}}"
(click)="onitemPress">
<ng-content></ng-content>
</fdp-object-list-item>
</fdp-grid-list>
id of the object list item it is optional.
counter of the item
Defines behavoiur of item.
export type listType = 'active| detail| detailsAndactive| inactive| navigation';item is disabled or not.
Fires when item is clicked.
Template:
<li fd-list-item id="listitem”………………….>
<ng-content></ng-content>
</li>
N/A
N/A
Are used along with this component.
Kevin:
- Remove
titleDirection,numberTextDirection, andintroTextDirection, 'RTL' should be handled internally by the component, ideally by CSS rules or alternatively using the RtlService-Done