zpt
Version:
Zenon Page Templates - JS (ZPT-JS)
36 lines (34 loc) • 1.38 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>ZPT-JS reference - Evaluation order</title>
<script type="module" src="../js/zpt.js"></script>
<link rel="stylesheet" type="text/css" href="../docs.css">
</head>
<body>
<div data-use-macro="'page@templates.html'">
<div data-fill-slot="'page-header'">
<h1>ZPT-JS reference - Evaluation order</h1>
</div>
<article data-fill-slot="'article'">
<p>
The order evaluation of attributes in ZPT-JS is not equal than ZPT's. The new order is:
</p>
<ol>
<li><code>data-repeat</code></li>
<li><code>data-on-error</code></li>
<li><code>data-define-macro</code></li>
<li><code>data-define</code></li>
<li><code>data-condition</code></li>
<li><code>data-omit-tag</code></li>
<li><code>data-replace</code></li>
<li><code>data-attributes</code></li>
<li><code>data-content</code></li>
<li>content</li>
<li><code>data-use-macro</code></li>
</ol>
</article>
</div>
</body>
</html>