WIP moving to vanilla js from svelte

Editing record edit and i am in the middle of creating the dropdown component
This commit is contained in:
2024-09-27 23:58:32 +03:00
parent 55db377abf
commit 5ed57838fc
6 changed files with 77 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<div class="dropdown">
<button
class="button dropdown-button"
type="button"
aria-expanded="false"
>
{{$slot}}
</button>
<div class="dropdown-menu hide orientation-{orientation}">
{{$items}}
</div>
</div>