Article Details
Id: | 15136 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.01.00 |
Opened: | 09/08/2017 |
Closed: | 08/01/2018 |
Released: | 23/02/2018 |
Job: | J019446 |
HTML Widgets; JavaScript can now access Theme colours
The following properties have been added to the widget object to allow Theme colours to be accessed:
- ThemeContrastColourBackground
- ThemeContrastColourForeground
- ThemeMainColourBackground
- ThemeMainColourForeground
The following code sample shows how to use these properties:
$("#divTest").css("background-color", widget.ThemeContrastColourBackground());