# 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);
   });
});
```