apply method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.theme.apply(id)

Applies a theme to all visualizations on the web page.

Note: Only available in a global context.

Version history

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 information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?