Builder

Builder class for creating BannerComponents instances.

Parameters

text

A snippet of the full BannerText.text which can be used for visually altering parts of the full string.

type

String giving you more context about the component which may help in visual markup/display choices. If the type of the components is unknown it should be treated as text.

Constructors

Link copied to clipboard
constructor(text: String, type: BannerComponents.Type)

Functions

Link copied to clipboard

Builds a BannerComponents instance with the current builder values.

Link copied to clipboard

Sets the abbreviation.

Link copied to clipboard

Sets the abbreviation priority.

Link copied to clipboard

Sets the active status.

Link copied to clipboard

Sets the directions.

Link copied to clipboard

Sets the image base URL.

Link copied to clipboard

Sets the image URL.

Link copied to clipboard