mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +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');
|
||
|
}
|