Joined buttons

This commit is contained in:
Prospector
2023-10-14 14:44:27 -07:00
parent ffb491a61f
commit e555c4d083
5 changed files with 91 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
<template>
<div ref="dropdown" class="popup-container" tabindex="0" :aria-expanded="dropdownVisible">
<button v-bind="$attrs" ref="dropdownButton" @click="toggleDropdown">
<button
v-bind="$attrs"
ref="dropdownButton"
:class="{ 'popout-open': dropdownVisible }"
@click="toggleDropdown"
>
<slot></slot>
</button>
<div