Skip to content

Platform: Object Attribute Component V1.0 Technical Design

sKudum edited this page Mar 13, 2020 · 5 revisions

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.

Clone this wiki locally