Skip to content

Instantly share code, notes, and snippets.

@azaharafernandezguizan
Created October 27, 2018 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azaharafernandezguizan/4b4caa1cc5cc0ecce4ef7f2db4fc4131 to your computer and use it in GitHub Desktop.
Save azaharafernandezguizan/4b4caa1cc5cc0ecce4ef7f2db4fc4131 to your computer and use it in GitHub Desktop.
Example of Aurelia view
<template>
<div show.bind = "igNobelRandomList.length >0" class="IgNobelDiv">
<div repeat.for="igNobel of igNobelRandomList" class="igNobelList ${igNobel.categoria}">
<span>${igNobel.anio}</span><br/>
<span class="igNobelCategoria">${igNobel.categoria}</span><br/>
<span>${igNobel.descripcion}</span><br/>
</div>
</div>
<button click.delegate = "moreIgNobel()">Más IgNobels</button>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment