If
The silk:If the component encapsulates code. Using the renderIf property logic, the code would be included or excluded at run time.
Tag Definition
Used standalone:
<silk:If
renderIf=""
negation=""
debug=""
/>
Used as a container:
<silk:If
renderIf=""
negation=""
debug=""
>
Contains: Other HTML and/or Silk components.
</silk:If>
Properties
renderIf
It contains the logic sentence defining whether the component should be rendered. The logic statement's explanation is in the Server Code Logic documentation. Default Value: Empty.
negation
If set to true, the logic statement result from the renderIf property will be negated. This is like saying "not renderIf". Default Value: Empty.
debug
Activates debug messages Default Value: Empty.
Last updated