-
Notifications
You must be signed in to change notification settings - Fork 130
Platform: Object Marker Component V1.0 Technical Design
Kevin Okamoto edited this page Jun 24, 2020
·
8 revisions
- This indicates the technical status of an object.
- It is enabled for the dynamic page layout, snapping header, object page header, upload collection, and object list item.
- The technical status can be represented as and icon, with an icon and text, or as text only, depending on the screen size.
- Currently, the following technical statuses can be visualized by the object marker:
- Flag
- Favorite
- Editing Status (Draft, Locked, Unsaved Changes)
- The editing status is part of the draft handling concept.
No Core technical design available currently.
<fdp-object-marker
[id]="id of the element'"
[type]="markerType"
[show]="iconOnly|textOnly|iconAndText"
(click)="onpress()">
{{marker text}}</fdp-object-marker>
Type of markers.
export type MarkerType = 'favorite'|'flagged'|'locked'|'lockedBy'|'unsaved'|'unsavedBy'|'draft';
what to be visible in marker
export type ShowInMarker = iconOnly|textOnly|iconAndText;
Event fired on click of Marker.
Link to general support for i18n: Supporting internationalization in ngx/platform
Special Usecase: No
-
fdp-object-marker
can be supported as:
<fdp-object-marker
[id]="id of the element'"
i18n="@@content"
[type]="markerType"
[show]="iconOnly|textOnly|iconAndText"
(click)="onpress()">
{{marker text}}
</fdp-object-marker>
Redesign Required: No