Skip to main content Skip to complementary content

apply method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qtheme.apply()

Applies a theme to all visualizations on the web page.

Version history

Version history
Version state Details
Introduced Qlik Sense February 2018

Returns

A promise that resolves with a Boolean indicating if applying the theme was successful or not.

Example

qlik.theme.get('my-theme-id').then(function(qtheme){
   qtheme.apply().then(function(result){
 	alert('theme applied with result: ' + result);
   });
});

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!