Docs
Popover
Popover
Displays rich content in a portal, triggered by a button.
Usage
vue
<script setup lang="ts">
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "wedges-vue";
</script>
<template>
<Popover>
<PopoverTrigger>
Open popover
</PopoverTrigger>
<PopoverContent />
</Popover>
</template>
API Reference
Props
Prop | Type | Default |
---|---|---|
defaultOpen | boolean | false |
modal | boolean | false |
open | boolean | false |
Emit | Description |
---|---|
update:open |