mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
dbb00ef4b6
* fix(components): [el-popper] append to body compatability - Add a new hook for deprecation warning - Add deprecation warnings for previous used `append-to-body` API - Add test for the API. * Address PR comments * Update documentations for deprecated * Fix formatting issue
16 lines
534 B
TypeScript
16 lines
534 B
TypeScript
import { withInstall } from '@element-plus/utils/with-install'
|
|
import Popper from './src/popper.vue'
|
|
|
|
export { default as ElPopperArrow } from './src/arrow.vue'
|
|
export { default as ElPopperTrigger } from './src/trigger.vue'
|
|
export { default as ElPopperContent } from './src/content.vue'
|
|
|
|
export const ElPopper = withInstall(Popper)
|
|
export default ElPopper
|
|
|
|
export * from './src/popper'
|
|
export * from './src/tokens'
|
|
export { useDeprecateAppendToBody } from './src/deprecation'
|
|
|
|
export type { Placement, Options } from '@popperjs/core'
|