mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
6 lines
224 B
TypeScript
6 lines
224 B
TypeScript
|
/* eslint-disable import/prefer-default-export */
|
||
|
export function isTooltipOpen() {
|
||
|
const tooltipEle = document.querySelector('.ant-tooltip');
|
||
|
return tooltipEle && !tooltipEle.classList.contains('ant-tooltip-hidden');
|
||
|
}
|