AboutSupportDeveloper GuideVersion 19.0.3

Interface NotificationIndicatorWithCustomColor

Hierarchy

Properties

Properties

color: string

Custom color string for indicator banner. This string must be defined in theme during Workspace Platform initialization.

fallback: IndicatorColor

Fallback color if custom color could not be found in theme.

text?: string

Customized text to be displayed in the indicator. When set, this will override the default indicator text. Text is limited to 32 characters including spaces.

Deprecated

Deprecated - use the priority field instead.

Indicates the semantic intent behind the indicator - this determines the visual styling of the indicator when seen by the user.

For example - an indicator could be used to:

  • IndicatorType.FAILURE: Indicate a failure has occurred from an action the user has taken.
  • IndicatorType.WARNING: Warn a user that they have a limited amount of time to buy.
  • IndicatorType.SUCCESS: Inform the user that an item has been successfully ordered.