@atlaskit/tooltip
Version:
A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
21 lines • 650 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMousePosition = void 0;
function getMousePosition(mouseCoordinates) {
var safeMouse = mouseCoordinates || { top: 0, left: 0 };
var getBoundingClientRect = function () { return ({
top: safeMouse.top,
left: safeMouse.left,
bottom: safeMouse.top,
right: safeMouse.left,
width: 0,
height: 0,
}); };
return {
getBoundingClientRect: getBoundingClientRect,
clientWidth: 0,
clientHeight: 0,
};
}
exports.getMousePosition = getMousePosition;
//# sourceMappingURL=utilities.js.map
;