fix: tooltip onPopupAlign never called (#7112)

feat-4.1
OliverYoung 2023-12-18 10:54:30 +08:00 committed by GitHub
parent 1fc109704b
commit a8a774a5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ export const innerProps = {
point: { type: Object as PropType<Point> },
getRootDomNode: { type: Function as PropType<() => HTMLElement> },
getClassNameFromAlign: { type: Function as PropType<(align: AlignType) => string> },
onAlign: {
type: Function as PropType<(popupDomNode: HTMLElement, align: AlignType) => void>,
},
onMouseenter: { type: Function as PropType<(align: MouseEvent) => void> },
onMouseleave: { type: Function as PropType<(align: MouseEvent) => void> },
onMousedown: { type: Function as PropType<(align: MouseEvent) => void> },