22 lines
410 B
Markdown
22 lines
410 B
Markdown
|
<cn>
|
||
|
#### 基本
|
||
|
最简单的用法,浮层的大小由内容区域决定。
|
||
|
</cn>
|
||
|
|
||
|
<us>
|
||
|
#### Basic
|
||
|
The most basic example. The size of the floating layer depends on the contents region.
|
||
|
</us>
|
||
|
|
||
|
```html
|
||
|
<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>
|
||
|
```
|