Tutorials
Each of the links below will drive you to a simple HTML page with an example.
To see how the example works, view the page source or fire your javascript debugger.
Render with directives
In this mode, the HTML and the logic are kept strictly separated.
All the actions, we want PURE to do, are described through directives.
- Set the text value of a node and an attribute
- Repeat a node
- Repeat a node, with sort and filter
- Use a JS function as a directive
Automatic rendering
PURE will map the JSON and the HTML automatically, using classes.
This is the autoRender method.
By somehow abusing the class attribute, this method is a little obtrusive.

