mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
18 lines
485 B
TypeScript
18 lines
485 B
TypeScript
import { App } from 'vue'
|
|
import { VXETable } from '../v-x-e-table'
|
|
import VxeTooltipComponent from './src/tooltip'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeTooltip = Object.assign(VxeTooltipComponent, {
|
|
install: function (app: App) {
|
|
VXETable.tooltip = true
|
|
app.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
|
}
|
|
})
|
|
|
|
export const Tooltip = VxeTooltip
|
|
|
|
dynamicApp.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
|
|
|
export default VxeTooltip
|