You need to sign in or sign up before continuing.
Select Git revision
asmfunc.asm
Forked from an inaccessible project.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Delete.vue 562 B
<template>
<b-button class="coscine_delete" @click="deleteItem">{{ btnText }}</b-button>
</template>
<script lang="ts">
import Vue from 'vue';
import BootstrapVue from 'bootstrap-vue';
Vue.use(BootstrapVue);
export default Vue.extend({
name: 'CoscineButtonDelete',
props: {
btnText: {
default: 'Delete',
type: String,
},
},
methods: {
deleteItem() {
this.$emit('delete');
},
},
});
</script>
<style scoped>
.coscine_delete:hover {
background-color: #cc071e;
border-color: #8e0515;
color: #ffffff;
}
</style>