diff --git a/src/js/Component.vue b/src/js/Component.vue index 0057f70..09df046 100644 --- a/src/js/Component.vue +++ b/src/js/Component.vue @@ -7,6 +7,8 @@ v-show="isActive" class="toast" :class="[`toast-${type}`, `is-${position}`]" + @mouseover="mouseover = true" + @mouseleave="mouseover = false" @click="whenClicked">
@@ -15,7 +17,7 @@