ant-design-vue/antdv-demo/docs/popover/demo/basic.md

24 lines
421 B
Markdown

<cn>
#### 基本
最简单的用法,浮层的大小由内容区域决定。
</cn>
<us>
#### Basic
The most basic example. The size of the floating layer depends on the contents region.
</us>
```vue
<template>
<a-popover title="Title">
<template slot="content">
<p>Content</p>
<p>Content</p>
</template>
<a-button type="primary">
Hover me
</a-button>
</a-popover>
</template>
```