Skip to content

Commit

Permalink
feat: Expose isOpen in the popover slot (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanogdev authored Dec 30, 2020
1 parent 629d43a commit 3084300
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
style="position: relative;"
>
<div>
<slot name="popover" />
<slot
name="popover"
:is-open="isOpen"
/>
</div>

<ResizeObserver v-if="handleResize" @notify="$_handleResize" />
Expand Down

0 comments on commit 3084300

Please sign in to comment.