mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 09:58:33 +08:00
5 lines
174 B
TypeScript
5 lines
174 B
TypeScript
|
export function isTooltipOpen() {
|
||
|
const tooltipEle = document.querySelector('.ant-tooltip');
|
||
|
return tooltipEle && !tooltipEle.classList.contains('ant-tooltip-hidden');
|
||
|
}
|