The if Command

Syntax

  if <conditional> [then] <command-list> [else <command-list>] end`

Description

The if command provides the standard if-statement control flow.

Examples

<div _="on click if I do not match .disabled 
                   add .clicked">
  Click Me!
</div>