Just as we are able to control the visibility of content in a content control and content controls with no title, we are now able to show or hide a named content control.
Module is located here:
...\ModuleLibrary\BaseExtensions\04_nocontext_MISC\16_W_showHideNamedCC.xml
CMD
<Cmd case="BaseExtensions:show-hide-named-cc" name="x"/>
Parameters
name
Define the name of the content control(s).
visible
Define whether the command should show or hide the specified content control using true
or false
. This parameter can be omitted, and thus the command will instead toggle the visibility of the content control.
fullyHide
Optional. Define to true
for fully hiding a cc. This is useful in scenarios where there is a line break right after the content control, and that has to be hidden as well. If omitted, it will default to false
.
Comments
0 comments
Article is closed for comments.