Zum Hauptinhalt springen

setTextColor

Parameters

  1. controlId - the id of the control to change the color
  2. colorName - one of these colors: "default", "primary", "secondary", "success", "danger", "warning"

Example Usages

Set Color to "warning"

   brixxApi.setTextColor("myControl", "warning");

Set Color to default

   brixxApi.setTextColor("myControl");