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:
Properties
Methods
Events
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:
- "fixed" | "scroll" 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:
- "auto" | "contain" | "cover" 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
An object with advanced survey header settings. Applies when the headerView
property is set to "advanced"
.
- Type:
- IHeader readonly
- Implemented in:
- ITheme
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 thetitle
,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.
- Type:
- "advanced" | "basic" readonly
- Implemented in:
- ITheme
A Boolean value that specifies whether survey questions are displayed within panels (false
) or without them (true
).
- Type:
- boolean readonly
- Implemented in:
- ITheme
Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.