Files
mixtape/zero.Web.UI/App/components/buttons/dot-button.vue
T

38 lines
648 B
Vue
Raw Normal View History

2020-04-06 23:48:28 +02:00
<template>
<button type="button" class="ui-dot-button" :disabled="disabled" @click="tryClick" :title="title | localize">
2020-04-06 23:48:28 +02:00
<span class="sr-only" v-localize="title"></span>
2020-04-09 15:53:03 +02:00
<i class="ui-button-icon fth-more-horizontal"></i>
2020-04-06 23:48:28 +02:00
</button>
</template>
<script>
export default {
name: 'uiDotButton',
props: {
state: {
type: String,
default: 'default'
},
title: {
type: String,
default: '@ui.actions'
},
2020-05-20 13:15:20 +02:00
disabled: Boolean
2020-04-06 23:48:28 +02:00
},
mounted ()
{
},
methods: {
2020-05-20 13:15:20 +02:00
tryClick(ev)
{
this.$emit('click', ev);
}
2020-04-06 23:48:28 +02:00
}
}
</script>