* Determine if the active elements + event combination changes the * tooltip position * @param {array} active - Active elements * @param {ChartEvent} e - Event that triggered the position change * @returns {boolean} True if the position has changed
(active, e)
| 1294 | * @returns {boolean} True if the position has changed |
| 1295 | */ |
| 1296 | _positionChanged(active, e) { |
| 1297 | const {caretX, caretY, options} = this; |
| 1298 | const position = positioners[options.position].call(this, active, e); |
| 1299 | return position !== false && (caretX !== position.x || caretY !== position.y); |
| 1300 | } |
| 1301 | } |
| 1302 | |
| 1303 | export default { |
no outgoing calls
no test coverage detected