IClassicStyles interface
đ Descriptionâ
Interface that specifies the styles for the runner. Supply it to the styles
property of the runner.
đ Type declarationâ
interface IClassicStyles { mode?: "paginated" | "continuous" | "progressive";Optional autoFocus?: boolean;Optional showEnumerators?: boolean;Optional showPageIndicators?: boolean;Optional showProgressbar?: boolean;Optional color?: string;Optional textColor?: string;Optional backgroundColor?: string;Optional palette?: { themePrimary?: string; themeLighterAlt?: string; themeLighter?: string; themeLight?: string; themeTertiary?: string; themeSecondary?: string; themeDarkAlt?: string; themeDark?: string; themeDarker?: string; neutralLighterAlt?: string; neutralLighter?: string; neutralLight?: string; neutralQuaternaryAlt?: string; neutralQuaternary?: string; neutralTertiaryAlt?: string; neutralTertiary?: string; neutralSecondary?: string; neutralSecondaryAlt?: string; neutralPrimaryAlt?: string; neutralPrimary?: string; neutralDark?: string; black?: string; white?: string; };Optional }
đī¸ Propertiesâ
đˇī¸ autoFocus
â
When set to true
, the runner tries to gain focus as soon as it is displayed.
Typeâ
string
If the display
mode of the runner is set to page
this option is automatically used and therefore always true
.
đˇī¸ backgroundColor
â
Specifies the background color for the runner.
Typeâ
string
đˇī¸ color
â
Specifies the primary color for the runner.
Typeâ
string
đˇī¸ mode
â
Specifies the operation mode of the runner. It can be one of the following values:
progressive
: Presents the whole form at once (this is the default mode);continuous
: Keeps answered blocks in view while working through the form;paginated
: Use pagination for the form and let the user navigate through the form using a next and back button.
Typeâ
"progressive" | "continuous" | "paginated"
đˇī¸ noBranding
â
Specifies if the Tripetto branding (a link to the Tripetto website) should be invisible (default is false
).
Typeâ
boolean
You are only allowed to remove the Tripetto branding if you have bought a license. See the pricing page for more information about licensing and pricing. Read the Disable Tripetto branding guide for more information about this feature.
đˇī¸ palette
â
Specifies the color palette (theme) for the Fluent UI controls. If this property is omitted the runner will generate a color palette from the specified color, backgroundColor, and textColor.
Use the Fluent UI Theme Designer to generate a theme for the form.
Typeâ
{
themePrimary?: string;
themeLighterAlt?: string;
themeLighter?: string;
themeLight?: string;
themeTertiary?: string;
themeSecondary?: string;
themeDarkAlt?: string;
themeDark?: string;
themeDarker?: string;
neutralLighterAlt?: string;
neutralLighter?: string;
neutralLight?: string;
neutralQuaternaryAlt?: string;
neutralQuaternary?: string;
neutralTertiaryAlt?: string;
neutralTertiary?: string;
neutralSecondary?: string;
neutralSecondaryAlt?: string;
neutralPrimaryAlt?: string;
neutralPrimary?: string;
neutralDark?: string;
black?: string;
white?: string;
}
đˇī¸ showEnumerators
â
Specifies if enumerators (question numbers) should be shown (default is false
).
Typeâ
boolean
đˇī¸ showPageIndicators
â
Specifies if a page indiciators should be shown when the mode
is set to paginated
(default is false
).
Typeâ
boolean
đˇī¸ showProgressbar
â
Specifies if a progressbar should be shown when the mode
is set to paginated
(default is false
).
Typeâ
boolean
đˇī¸ textColor
â
Specifies the text color for the runner.
Typeâ
string