Platform: Object Attribute Component V1.0 Technical Design - SAP/fundamental-ngx GitHub Wiki
Object Attribute
Summary
This component displays normal or active text and fires a onclick event when the user chooses the active/clickable text.
Example
<fdp-object-attribute [id]="id of the element'"
[clickable]="true|false'"
[title]="title"
(click)="onpress()">
attribute text</fdp-object-attribute>
Design
Property Bindings
[clickable]="true|false'":boolean
Defines Object Attribute text is selectable for the user. once value of the text property becomes active and acts like a link.
on text presence, active property will be set to true.
[title]="attribute title'":string
Eventbinding
[click]="onAttributeclick()'"
Event fired on click of attribute.
i18n
Link to general support for i18n: Supporting internationalization in ngx/platform
Special Usecase: No
fdp-object-attribute
can be supported as:
<fdp-object-attribute [id]="id of the element'"
i18n="@@content"
[clickable]="true|false'"
i18n-title="@@title"
title="title"
(click)="onpress()">
attribute text
</fdp-object-attribute>
Redesign Required: No