29 lines
486 B
Vue
29 lines
486 B
Vue
<template>
|
|
<b-col class="my-3" cols="12" md="6">
|
|
<b-card :title="title">
|
|
<b-button class="float-right" @click="performClick">Open</b-button>
|
|
<div class="float-left">
|
|
Tracks: {{ count }}
|
|
</div>
|
|
</b-card>
|
|
</b-col>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "CollectionsListElement",
|
|
props: {
|
|
title: String,
|
|
count: Number
|
|
},
|
|
methods: {
|
|
performClick() {
|
|
this.$emit('clicked');
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style> |