Documentation Docs
Documentation Docs

ITheme

A theme configuration interface.

ITheme objects are used to apply predefined themes or create custom themes. Refer to the following help topic for more information:

Themes & Styles

backgroundImage property

An image to display as survey background. This property accepts a hyperlink or a data URL.

Type:
string readonly
Implemented in:
ITheme

A string value that specifies whether the background image is fixed in its position or scrolled along with the survey.

Possible values:

  • "fixed"
  • "scroll"
Type:
ImageAttachment readonly
Implemented in:
ITheme

A string value that specifies how to resize the background image to fit it into its container.

Possible values:

  • "auto"
  • "contain"
  • "cover"

Refer to the description of the background-size CSS property values on MDN for detailed information on the possible values.

Type:
ImageFit readonly
Implemented in:
ITheme

A value from 0 to 1 that specifies how transparent the background image should be: 0 makes the image completely transparent, and 1 makes it opaque.

Type:
number readonly
Implemented in:
ITheme
colorPalette property

A color palette.

Possible values:

  • "light"
  • "dark"
Type:
string readonly
Implemented in:
ITheme
cssVariables property

An object with CSS variables.

Type:
{ [index: string]: string; } readonly
Implemented in:
ITheme
headerView property

Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.

Possible values:

  • "basic" (default)
    A basic header view applies only the title, description, and logo-related properties (logo, logoPosition, etc.).

  • "advanced"
    An advanced header view applies the same properties as the basic view, plus header settings from the survey theme. The advanced view features a more flexible header layout, a capability to specify a background image, and other settings that give a more professional look to the survey header.

View Demo

Type:
"advanced" | "basic" readonly
Implemented in:
ITheme
isPanelless property

A Boolean value that specifies whether survey questions are displayed within panels (false) or without them (true).

Type:
boolean readonly
Implemented in:
ITheme
themeName property

A theme name.

Type:
string readonly
Implemented in:
ITheme

Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.