Make option for dynamic value bolder

This commit is contained in:
Pieter Vander Vennet 2024-07-16 13:06:09 +02:00
parent 695c328bc0
commit 4bd6f9d4ac
20 changed files with 470 additions and 91 deletions

View file

@ -5,15 +5,15 @@ export interface IconConfigJson {
/**
* question: What icon should be used?
* type: icon
* types: Use a dynamic value ; icon
* types: <span class="text-lg font-bold">Use a different icon depending on the value of some attributes</span> ; icon
* suggestions: return Constants.defaultPinIcons.map(i => ({if: "value="+i, then: i, icon: i}))
*/
icon: string | MinimalTagRenderingConfigJson | { builtin: string; override: any }
/**
* question: What colour should the icon be?
* This will only work for the default icons such as `pin`,`circle`,...
* type: color
* types: Use a dynamic color ; icon
* types: <span class="text-lg font-bold">Use a different color depending on the value of some attributes</span> ; color
*
*/
color?: string | MinimalTagRenderingConfigJson | { builtin: string; override: any }
}