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

PropTypeDefault
defaultOpen
boolean
false
modal
boolean
false
open
boolean
false
EmitDescription
update:open

Examples

Edit this page on GitHub