Configuration
Last updated
Use the config command to set the theme all (existing and future) Widgets and Surveys.
Frill('config', {
theme: 'dark' // light, dark, navy, purple
});
// Reset
Frill('config', { theme: null });Widgets and Surveys will use the current browser language by default, but you can override the language by specifying one in your config.
window.Frill('container', {
key: 'YOUR_SCRIPT_KEY',
language: 'es',
});If your company does not have the specified language it will fallback to the company default.
Last updated