2021-01-17 18:57:57 +01:00
|
|
|
<template>
|
|
|
|
<span class="shortcuts">
|
|
|
|
<template v-for="(k, i) in keys">
|
|
|
|
<span :key="i">{{ k }}</span>
|
|
|
|
<i v-if="i < keys.length - 1" :key="`plus${i}`">+</i>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'shortcut',
|
|
|
|
props: {
|
|
|
|
keys: {
|
|
|
|
type: Array,
|
|
|
|
required: true,
|
2021-07-17 23:21:46 +02:00
|
|
|
},
|
2021-01-17 18:57:57 +01:00
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|