Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

getApplied method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.theme.getApplied()

Retrieves the currently applied theme. Returns a QTheme object that consists of a theme and helper methods. Particular use for visualization extensions so these can use styling from the current theme.

Information noteOnly available in an app context.

Version history

Version history
Version state Details
Introduced Qlik Sense February 2018

Returns

A promise that resolves with a QTheme object consisting of the theme as a JSON structure.

Example

app.theme.getApplied().then(function(qtheme){
    alert('Current theme background color: ' + qtheme.properties.backgroundColor);
});

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!