Skip to content

Commit

Permalink
pass down attributes to popover index
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherfrontendguy committed Sep 17, 2024
1 parent a3daa5e commit 9c1c3aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/components/popover/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
x-id="['popover-trigger']"
x-on:keydown.escape.window="__close($refs.trigger)"
x-on:focusin.window="! $refs.popoverContent.contains($event.target) && __close()"
{{ $attributes }}
>
{{ $slot }}
</div>

0 comments on commit 9c1c3aa

Please sign in to comment.