Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<div v-for="(fila, indiceFila) in memorama" :key="indiceFila"
class="row">
<div :key="indiceFila+''+indiceImagen" class="col-3"
v-for="(imagen, indiceImagen) in fila">
<div class="mb-3">
<img @click="voltear(indiceFila, indiceImagen)"
:class="{'girar': imagen.mostrar}"
:src="(imagen.mostrar ? imagen.ruta :
NOMBRE_IMAGEN_OCULTA)" class="card-img-top img-fluid
img-thumbnail">
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment