Files
filebrowser/_assets/src/components/InfoButton.vue
T
2017-06-30 10:25:35 +01:00

18 lines
336 B
Vue

<template>
<button @click="show" title="Info" aria-label="Info" class="action">
<i class="material-icons">info</i>
<span>Info</span>
</button>
</template>
<script>
export default {
name: 'info-button',
methods: {
show: function (event) {
this.$store.commit('showInfo', true)
}
}
}
</script>