From f3dba67e1544e6f16c24ca320bd9ba1148f2f24d Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Mon, 16 Oct 2023 16:40:29 +0000 Subject: [PATCH] Reformatted some stuff and added info about textstyling property --- ModuleJSONProperty.md | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/ModuleJSONProperty.md b/ModuleJSONProperty.md index a7519a3..9268c17 100644 --- a/ModuleJSONProperty.md +++ b/ModuleJSONProperty.md @@ -59,6 +59,30 @@ Color picker |-|-|-| |value|boolean|The default value for the property. +### select +Dropdown select +|Parameter|Type|Description| +|-|-|-| +|value|string|The default selected value for the property. +|allowedValues|{id:string, text:string}[]|The values that can be selected. + +### file +Select file from filebrowser +|Parameter|Type|Description| +|-|-|-| +|value|null| +|multi|boolean|Can select multiple files. +|allowedTypes|string[]|Selectable file types. Can be `image`, `video`, `audio`, `font`, `pdf`, `animation`, `vectorImage` + +### textstyling +Property that contains multiple text styling sub properties. + +Select file from filebrowser +|Parameter|Type|Description| +|-|-|-| +|value|null| +|allowedTypes|string[]|Which sub properties to show. Can be `size`, `color`, `bold`, `italic`, `underlined`, `strikethrough`, `align` + ### time Time selector |Parameter|Type|Description| @@ -77,21 +101,6 @@ Date + Time selector |-|-|-| |value|number|The default value (unix epoch seconds) for the property. -### select -Dropdown select -|Parameter|Type|Description| -|-|-|-| -|value|string|The default selected value for the property. -|allowedValues|{id:string, text:string}[]|The values that can be selected. - -### file -Select file from filebrowser -|Parameter|Type|Description| -|-|-|-| -|value|null| -|multi|boolean|Can select multiple files. -|allowedTypes|string[]|Selectable file types. Can be `image`, `video`, `audio`, `font`, `pdf`, `animation`, `vectorImage` - ### giphy Grab animation from Giphy |Parameter|Type|Description|