Skip to content

Commit 3084300

Browse files
authored
feat: Expose isOpen in the popover slot (#507)
1 parent 629d43a commit 3084300

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Popover.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
style="position: relative;"
3232
>
3333
<div>
34-
<slot name="popover" />
34+
<slot
35+
name="popover"
36+
:is-open="isOpen"
37+
/>
3538
</div>
3639

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

0 commit comments

Comments
 (0)