Skip to content

Instantly share code, notes, and snippets.

@Pickeringwareltd
Pickeringwareltd / ExampleCard.vue
Created March 4, 2019 17:13
Bobi V1: Example card component
<template>
<div class='col-sm-12 col-md-6 col-lg-3'>
<!-- Iterate through the articles and create a card representing each one -->
<div class='card card-body mb-3' @click='emitClicked(elementId, elementName, card.title)'>
<dot-loader class='dot_loader' :color='loader.color' :loading='loader.loading' :size='50'></dot-loader>
<h3 class'text_card_title mb-3'>{{ card.title }}</h3>
<p class='text_card_body'>{{ card.body }}</p>
</div>
</div>
</template>