UNPKG

tippy.js

Version:

Vanilla JS Tooltip Library

9 lines (8 loc) • 192 B
/** * Determines if a popper is currently visible * @param {Element} popper * @return {Boolean} */ export default function isVisible(popper) { return popper.style.visibility === 'visible' }