- Theme Engine
- Design Principles
- Global variables
- Page templates
- Category templates
- Product templates
- EVML Reference
- Statements and Declarations
- Built-in Functions
- Built-in Objects
- EV Tags
- CSS Pre-processor
- Ajax API
EV Script Statements & Declarations
Dynamic content may be rendered to the page by utilising statements with an appropriate syntax or code block. Each statement may span one or multiple lines, but all statements must end with a semicolon.
EVML break statement terminates the current loop or switch statement and transfers execution to the statement following the terminated statement.
EVML continue statement stops execution of the current iteration of a loop, and continues execution of the next iteration.
EVML do...while statement creates a loop that executes a code block until the test condition evaluates to false after each iteration.
EVML function declaration defines a function with any number of arguments.
EVML if statements execute a code block if a specified condition is true
EVML for statement creates a loop governed by three optional expressions
The for...in statement iterates over the enumerable properties of an object
The for...of statement creates a loop iterating over iterable objects
EVML switch statement evaluates an expression, based on case clauses, and executes statements associated with that case.
EVML declaring a variable in EV Script
EVML while statement creates a loop that executes so long a condition evaluates as true.