mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
9 lines
270 B
Plaintext
9 lines
270 B
Plaintext
<div>
|
|
<div.unpreserved-counter>${input.counter}</div>
|
|
<if(input.counter % 2 === 0)>
|
|
<div key="odd">odd</div>
|
|
</if>
|
|
<span key="preserve" data-counter=input.counter no-update>
|
|
<div.preserved-counter>${input.counter}</div>
|
|
</span>
|
|
</div> |