ant-design-vue/components/popover/demo/basic.vue

27 lines
450 B
Vue
Raw Normal View History

2021-09-01 07:04:46 +00:00
<docs>
---
order: 0
title:
zh-CN: 基本用法
en-US: Basic usage
---
## zh-CN
最简单的用法浮层的大小由内容区域决定
## en-US
The most basic example. The size of the floating layer depends on the contents region.
</docs>
<template>
<a-popover title="Title">
<template #content>
<p>Content</p>
<p>Content</p>
</template>
<a-button type="primary">Hover me</a-button>
</a-popover>
</template>