Changeset View
Changeset View
Standalone View
Standalone View
web/utils/tooltip-utils.js
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | export const tooltipPositions = Object.freeze({ | ||||
LEFT_BOTTOM: 'left-bottom', | LEFT_BOTTOM: 'left-bottom', | ||||
RIGHT_BOTTOM: 'right-bottom', | RIGHT_BOTTOM: 'right-bottom', | ||||
LEFT_TOP: 'left-top', | LEFT_TOP: 'left-top', | ||||
RIGHT_TOP: 'right-top', | RIGHT_TOP: 'right-top', | ||||
TOP: 'top', | TOP: 'top', | ||||
BOTTOM: 'bottom', | BOTTOM: 'bottom', | ||||
}); | }); | ||||
type TooltipSize = { | export type TooltipSize = { | ||||
+height: number, | +height: number, | ||||
+width: number, | +width: number, | ||||
}; | }; | ||||
export type TooltipPositionStyle = { | export type TooltipPositionStyle = { | ||||
+anchorPoint: { | +anchorPoint: { | ||||
+x: number, | +x: number, | ||||
+y: number, | +y: number, | ||||
▲ Show 20 Lines • Show All 635 Lines • Show Last 20 Lines |