* 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)
| 1214 | * @returns {boolean} True if the position has changed |
| 1215 | */ |
| 1216 | _positionChanged(active, e) { |
| 1217 | const {caretX, caretY, options} = this; |
| 1218 | const position = positioners[options.position].call(this, active, e); |
| 1219 | return position !== false && (caretX !== position.x || caretY !== position.y); |
| 1220 | } |
| 1221 | } |
| 1222 | |
| 1223 | export default { |
no outgoing calls
no test coverage detected