mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-29 05:28:00 +02:00
Add optional clickable animation to .bi
This commit is contained in:
parent
0c5b358ddc
commit
b9d84f2534
7 changed files with 30 additions and 21 deletions
|
@ -4,7 +4,7 @@ defineEmits(['click']);
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<button :class="'bi bi-' + (ico ? ico : 'play')" @click="$emit('click')">
|
||||
<button :class="'bi clickable bi-' + (ico ? ico : 'play')" @click="$emit('click')">
|
||||
<slot name="menu"></slot>
|
||||
</button>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue