How to use PURE

Tell PURE what it needs to do, using directives

If you want full control over the transformation and a total separation between the HTML and JS, use directives (What is a directive?).

Automatic mode

By following some conventions with the CLASS attribute, PURE matches the HTML and the data automatically. This mode is ok for basic templating.

More advanced features