From b2662b823c54f1c5a806de07d190363023fa4816 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 3 Apr 2021 14:33:19 +0200 Subject: [PATCH] Add small documentation improvements --- Customizations/JSON/TagRenderingConfigJson.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Customizations/JSON/TagRenderingConfigJson.ts b/Customizations/JSON/TagRenderingConfigJson.ts index 8d61296..de091b3 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 +}