index.ts 405 B

12345678910111213141516
  1. import { withInstall, withInstallDirective } from '@element-plus/utils'
  2. import Popover from './src/popover.vue'
  3. import PopoverDirective, { VPopover } from './src/directive'
  4. export const ElPopoverDirective = withInstallDirective(
  5. PopoverDirective,
  6. VPopover
  7. )
  8. export const ElPopover = withInstall(Popover, {
  9. directive: ElPopoverDirective,
  10. })
  11. export default ElPopover
  12. export * from './src/popover'