FieldDisplayType

When configuring a field on a LucidCardBlock to be displayed as a data graphic, one of these values specifies
the function to convert the field value to the data graphic settings. The definition of these functions is in
LucidCardsLibrary.registerStencilDisplayTypes.


Enumeration Members

BasicTextBadge

BasicTextBadge: "BasicTextBadge";

Text badge with the full text of the field.
Black text on a light gray background in the upper-right of the card.


DateBadge

DateBadge: "DateBadge";

Given a date, display a small calendar icon alongside a very short version of the date
as a string, e.g. "Sep 9"


ImageBadge

ImageBadge: "ImageBadge";

Given a URL, display a small image cropped into a circle in the lower-left of the card.


InitializedString

InitializedString: "InitializedString";

Given a name (usually of a user), puts a text badge with their initials (first letter of each name)
at the bottom-left of the card, black text on a light gray background.


SquareImageBadge

SquareImageBadge: "SquareImageBadge";

Given a URL, display a small image cropped into a square in the lower-left of the card.


StandardEstimation

StandardEstimation: "StandardEstimation";

Given a number, display the number in the bottom-left of the card. If the number is higher than 999,
display 999.


UserProfile

UserProfile: "UserProfile";

Given an object containing iconUrl (optional) and name (optional), determine whether
to display as an ImageBadge or InitializedString (or nothing, if neither is present).