Interface: InfoboxOptions
features/infoboxes/infobox.InfoboxOptions
An object that configures an Infobox.
Properties
bodyStyle
• Optional
bodyStyle: Computable
<StyleValue
>
CSS to apply to the body of the infobox.
Defined in
profectus/src/features/infoboxes/infobox.ts:38
classes
• Optional
classes: Computable
<Record
<string
, boolean
>>
Dictionary of CSS classes to apply to this feature.
Defined in
profectus/src/features/infoboxes/infobox.ts:40
color
• Optional
color: Computable
<string
>
The background color of the Infobox.
Defined in
profectus/src/features/infoboxes/infobox.ts:32
display
• display: Computable
<CoercableComponent
>
The main text that appears in the display.
Defined in
profectus/src/features/infoboxes/infobox.ts:44
style
• Optional
style: Computable
<StyleValue
>
CSS to apply to this feature.
Defined in
profectus/src/features/infoboxes/infobox.ts:34
title
• title: Computable
<CoercableComponent
>
A header to appear at the top of the display.
Defined in
profectus/src/features/infoboxes/infobox.ts:42
titleStyle
• Optional
titleStyle: Computable
<StyleValue
>
CSS to apply to the title of the infobox.
Defined in
profectus/src/features/infoboxes/infobox.ts:36
visibility
• Optional
visibility: Computable
<boolean
| Visibility
>
Whether this clickable should be visible.