Skip to Content

Tags

Show an array of tags.

Interface

interface ITags extends IElement { tags: ITag[]; contentUniqueId?: string; maxTagWidth?: string; } interface ITag { key: string; text: string; pageDetailUrl?: string; }

Example

Tags
{ "type": "Tags", "tags": "{base.tags}" }

Properties

type

Must be “Tags”.

  • Type: "Tags"

  • Required: Yes

tags

Array of tags to display.

contentUniqueId

UniqueId of the content that has the associated tags. It is necessary to report this property when there are more tags associated with the content than the card can display.

  • Type: string

  • Required: No

maxTagWidth

Specifies the maximum width reserved to display the tags.

  • Type: string

  • Required: No

  • Default value: "200px"