Conditions
Conditions within portal widgets.
You can use the <Condition />
component within widgets to optionally display sections of the widget.
Script Block
Using the ScriptBlock
attribute to define a Script Block to determine the value of the condition. The script block needs to return true or false.
Child Content
The ChildContent
section will be displayed if the condition is true.
Else
The Else
section will be displayed if the condition is false.
Last updated