Selector/Selector.Web/scripts/Past/RankCard.ts

19 lines
411 B
TypeScript
Raw Normal View History

2022-10-10 11:44:47 +01:00
import * as Vue from "vue";
export let RankCard: Vue.Component = {
props: ['title', 'entries'],
computed: {
},
template:
`
<div class="rank-card card">
<h2>{{ title }}</h2>
<ol>
<li v-for="entry in entries">
{{ entry.name }} - <b>{{entry.value}}</b>
</li>
</ol>
</div>
`
}