From 5ad491a6d4fad8f2745531922adb8ab8f52f1518 Mon Sep 17 00:00:00 2001 From: flori Date: Tue, 12 Nov 2024 15:45:09 +0100 Subject: [PATCH] Added: swac_showOnEmpty conditional showing --- sites/concepts/4_design.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sites/concepts/4_design.html b/sites/concepts/4_design.html index d06a4c0..1471e84 100644 --- a/sites/concepts/4_design.html +++ b/sites/concepts/4_design.html @@ -298,7 +298,8 @@

Control view of layout parts

.swac_dontdisplayHides the element per default. This can be used for toggle visability. [swac_display="{attribute}"]Used for conditional display of elements. If the attribute is true the element will be shown. [swac_hide="{attribute}"]Used for conditional hiding of elements. If the attribute is true, the element will be hidden. - [swac_hideOnEmpty="{attribute}"}]Used for conditional hiding of elements. If the attribute is empty, element will be hidden. + [swac_hideOnEmpty="{attribute}"]Used for conditional hiding of elements. If the attribute is empty, element will be hidden. + [swac_showOnEmpty="{attribute}"]Used for conditional hiding of elements. If the attribute is empty, element will be shown. .swac_screencenteredDisplays the element on the center of the screen. .swac_onprintOnly shown in prints of page. .swac_onscreenOnly shown when page is viewed on screen.