mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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');
|
||
|
}
|