18 lines
406 B
Vue
18 lines
406 B
Vue
<template>
|
|
<button @click="show" :aria-label="$t('buttons.copy')" :title="$t('buttons.copy')" class="action" id="copy-button">
|
|
<i class="material-icons">content_copy</i>
|
|
<span>{{ $t('buttons.copyFile') }}</span>
|
|
</button>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'copy-button',
|
|
methods: {
|
|
show: function (event) {
|
|
this.$store.commit('showHover', 'copy')
|
|
}
|
|
}
|
|
}
|
|
</script>
|