NEW3.01.00 · Released 23 February 2018
NEWfinPOWER Connect
Released in
3.01.00
23 February 2018
  1. Opened9 Aug 2017
  2. Closed8 Jan
  3. Released23 Feb
Article 15136 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());