()
| 207 | } |
| 208 | |
| 209 | getTargetBounds() { |
| 210 | if (!isUndefined(this.targetModifier)) { |
| 211 | if (this.targetModifier === 'visible') { |
| 212 | return getVisibleBounds(this.bodyElement, this.target); |
| 213 | } else if (this.targetModifier === 'scroll-handle') { |
| 214 | return getScrollHandleBounds(this.bodyElement, this.target); |
| 215 | } |
| 216 | } else { |
| 217 | return getBounds(this.bodyElement, this.target); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | clearCache() { |
| 222 | this._cache = {}; |
no test coverage detected