Files
mixtape/zero.Web.UI/App/components/buttons/dot-button.vue
T
2020-05-20 13:15:20 +02:00

38 lines
648 B
Vue

<template>
<button type="button" class="ui-dot-button" :disabled="disabled" @click="tryClick" :title="title | localize">
<span class="sr-only" v-localize="title"></span>
<i class="ui-button-icon fth-more-horizontal"></i>
</button>
</template>
<script>
export default {
name: 'uiDotButton',
props: {
state: {
type: String,
default: 'default'
},
title: {
type: String,
default: '@ui.actions'
},
disabled: Boolean
},
mounted ()
{
},
methods: {
tryClick(ev)
{
this.$emit('click', ev);
}
}
}
</script>