mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 11:58:41 +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');
|
||
|
}
|