Article Details
Id: | 18977 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.04.04 |
Opened: | 04/02/2022 |
Closed: | 11/02/2022 |
Released: | 09/06/2022 |
Job: | J028243 |
HTML Widgets; widget.UI; Additional constants added
The following constants are now available from the widget.UI object:
- MANDATORY_CONTROL_BACKGROUNDCOLOUR
- MANDATORY_LABEL_COLOUR
These will return HTML formatted colour strings as per the following example:
$("divTest").css("background-color", widget.UI.MANDATORY_CONTROL_BACKGROUNDCOLOUR);