Fliplet.Themes

Fliplet.Themes

Read the list of available app themes and access the current theme’s settings and widget-instance values at runtime.

Get the list of available themes

Fliplet.Themes.get().then(function (themes) {

});

Get theme instance

var themeInstance = Fliplet.Themes.Current.getInstance();
Property Type Description
data.values Object Key-value storage of theme values
data.widgetInstances Array List of widget instances and associated theme value settings

Get settings from the current theme

var value = Fliplet.Themes.Current.get('keyName');

Back to API documentation