(left, top)
| 20825 | return this; |
| 20826 | } |
| 20827 | show(left, top) { |
| 20828 | const scheduler2 = this._scheduler; |
| 20829 | const domHelpers = scheduler2.$domHelpers; |
| 20830 | const container = document.body; |
| 20831 | const node = this.getNode(); |
| 20832 | if (!domHelpers.isChildOf(node, container)) { |
| 20833 | this.hide(); |
| 20834 | container.appendChild(node); |
| 20835 | } |
| 20836 | if (this._isLikeMouseEvent(left)) { |
| 20837 | const position = this._calculateTooltipPosition(left); |
| 20838 | top = position.top; |
| 20839 | left = position.left; |
| 20840 | } |
| 20841 | node.style.top = top + "px"; |
| 20842 | node.style.left = left + "px"; |
| 20843 | scheduler2._waiAria.tooltipVisibleAttr(node); |
| 20844 | return this; |
| 20845 | } |
| 20846 | hide() { |
| 20847 | const scheduler2 = this._scheduler; |
| 20848 | const node = this.getNode(); |
no test coverage detected