diff --git a/Customizations/JSON/TagRenderingConfigJson.ts b/Customizations/JSON/TagRenderingConfigJson.ts index 8d612960a2..de091b323b 100644 --- a/Customizations/JSON/TagRenderingConfigJson.ts +++ b/Customizations/JSON/TagRenderingConfigJson.ts @@ -1,11 +1,16 @@ import {AndOrTagConfigJson} from "./TagConfigJson"; +/** + * A TagRenderingConfigJson is a single piece of code which converts one ore more tags into a HTML-snippet. + * If the desired tags are missing and a question is defined, a question will be shown instead. + * + / export interface TagRenderingConfigJson { /** * Renders this value. Note that "{key}"-parts are substituted by the corresponding values of the element. * If neither 'textFieldQuestion' nor 'mappings' are defined, this text is simply shown as default value. * - * Note that this is a HTML-interpreted value, so you can add links as e.g. {website} + * Note that this is a HTML-interpreted value, so you can add links as e.g. '{website}' or include images such as `This is of type A
` */ render?: string | any, @@ -139,4 +144,4 @@ export interface TagRenderingConfigJson { * However, it will _only_ be shown if it matches the overpass-tags of the layer it was originally defined in. */ roaming?: boolean -} \ No newline at end of file +}