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

27 lines
450 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<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>