mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 11:58:41 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
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');
|
|
}
|