Conditional

Makes part of an HTML template conditional. The body of the Conditional component is only rendered if a specified condition is met.

Parameters

condition

The condition to be met.

invert

If true, then the condition is inverted. This is useful for simulating an else clause.