Theme API

Provides run-time access to the Theme function and related functions..

Theme API Methods

MethodDescription
applyCurrentTheme()Applies the Current Theme
getAllSystemTheme()Retrieves System Themes in State
getAllTheme()Retrieves all Themes (both System User) in State
getAllUserTheme()Retrieves User Themes in State
getCurrentTheme()Retrieves name of Current Theme
getThemeState()Retrieves Theme section from Adaptable State
loadDarkTheme()Sets AdapTable Dark Theme - updates underlying vendor grid theme to match
loadLightTheme()Sets AdapTable Light Theme - updates underlying vendor grid theme to match
loadTheme(theme)Sets Adaptable to use a given theme
setSystemThemes(systemThemes)Sets available System Themes; if empty array is passed none will be
setUserThemes(userThemes)Sets available User Themes
showThemePopup()Opens Theme popup screen

See API documentation for full details of all available functions with lists of parameters

More Information