RichContentReplacement

data class RichContentReplacement(val value: String = "", val href: String = "", val type: String = "", val target: String = "")

Represents a single replacement token inside a rich-text label.

Constructors

Link copied to clipboard
constructor(value: String = "", href: String = "", type: String = "", target: String = "")

Properties

Link copied to clipboard

The URL the replacement links to (empty string if not a link).

Link copied to clipboard

The link target (e.g. "_self", "_blank").

Link copied to clipboard

The replacement type (e.g. "link").

Link copied to clipboard

The display text of the replacement (e.g. "google.com").