Skip to main content Skip to complementary content

apply method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.theme.apply(id)

Applies a theme to all visualizations on the web page.

Information noteOnly available in a global context.

Version history

Version history
Version state Details
Introduced Qlik Sense February 2018

Parameters

id

Type: String

ID of the theme to apply.

Returns

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

Example

qlik.theme.apply('my-theme-id').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!