index.ts 566 B

12345678910111213141516171819
  1. import { withInstall } from '@element-plus/utils'
  2. import Popper from './src/popper.vue'
  3. import ElPopperArrow from './src/arrow.vue'
  4. import ElPopperTrigger from './src/trigger.vue'
  5. import ElPopperContent from './src/content.vue'
  6. export { ElPopperArrow, ElPopperTrigger, ElPopperContent }
  7. export const ElPopper = withInstall(Popper)
  8. export default ElPopper
  9. export * from './src/popper'
  10. export * from './src/trigger'
  11. export * from './src/content'
  12. export * from './src/arrow'
  13. export * from './src/constants'
  14. export type { Placement, Options } from '@popperjs/core'