If Element

An if statement is a programming conditional statement that, if proved true, shows the information contained within. If statements should be used sparingly; it is better to use a custom element to maintain complex nested logic;.


An if statement toggle is based on one or more conditional checks that are supplied as arguments.

The example conditions are based on the server's current time


A condition based on the time of day.

Day of Week

A condition based on the day of the week.


A condition based on dates.


A condition based on datetimes.