()
| 160 | } |
| 161 | |
| 162 | _getUpLeftY() { |
| 163 | if (this.position.type === config.positionType.downLeft |
| 164 | || this.position.type === config.positionType.downRight) { |
| 165 | return this.position.y; |
| 166 | } |
| 167 | return this.position.y - this._getBackgroundHeight() - 20; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | export default Tooltip; |
no test coverage detected