Information noteSTABLE.
                    
This API is reliable and breaking changes are unlikely.
                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 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);
 });