ant-design-vue/components/popover/demo/basic.vue
2018-01-19 18:01:43 +08:00

26 lines
429 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<md>
## 基本
最简单的用法浮层的大小由内容区域决定
</md>
<Popover title="Title">
<template slot="content">
<p>Content</p>
<p>Content</p>
</template>
<AntButton type="primary">Hover me</AntButton>
</Popover>
</div>
</template>
<script>
import { Popover, Button } from 'antd'
export default {
components: {
Popover,
AntButton: Button,
},
}
</script>