Created
May 31, 2012 21:19
-
-
Save RobertTheGrey/2846383 to your computer and use it in GitHub Desktop.
Spark conditional rendering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- conditional node --> | |
<p if='model.IsFull' class='resultmessage'>The list is full</p> | |
<!-- conditional attribute --> | |
<ul> | |
<li each="var product in Products" class="first?{productIsFirst} last?{productIsLast}"> | |
${product.Name} | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment