diff --git a/docs/en-US/component/popover.md b/docs/en-US/component/popover.md index 3cd48cd0a4..d5810b48e2 100644 --- a/docs/en-US/component/popover.md +++ b/docs/en-US/component/popover.md @@ -13,7 +13,7 @@ This component requires the `` wrap when used in SSR ## Basic usage -Similar to Tooltip, Popover is also built with `ElPopper`. So for some duplicated attributes, please refer to the documentation of Tooltip. +Popover is built with `ElTooltip`. So for some duplicated attributes, please refer to the documentation of Tooltip. :::demo The `trigger` attribute is used to define how popover is triggered: `hover`, `click`, `focus` or `contextmenu` . If you want to manually control it, you can set `:visible`. @@ -80,7 +80,7 @@ popover/directive-usage | placement | popover placement | string | top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end | bottom | | disabled | whether Popover is disabled | boolean | — | false | | visible / v-model:visible | whether popover is visible | Boolean | — | false | -| offset | popover offset | number | — | 0 | +| offset | popover offset, `Popover` is built with `Tooltip`, offset of `Popover` is `undefined`, but offset of `Tooltip` is 12 | number | — | 12 | | transition | popover transition animation | string | — | el-fade-in-linear | | show-arrow | whether a tooltip arrow is displayed or not. For more info, please refer to [ElPopper](https://github.com/element-plus/element-plus/tree/dev/packages/components/popper) | boolean | — | true | | popper-options | parameters for [popper.js](https://popper.js.org/docs/v2/) | object | please refer to [popper.js](https://popper.js.org/docs/v2/) | `{modifiers: [{name: 'computeStyles',options: {gpuAcceleration: false}}]}` |