* Handle tooltip display in response to an item.tooltip value. * @param {Event} event - The event triggering tooltip display. * @param {Item} item - The scenegraph item. * @param {boolean} show - A boolean flag indicating whether * to show or hide a tooltip for the given item.
(event, item, show)
| 123370 | * @param {boolean} show - A boolean flag indicating whether |
| 123371 | * to show or hide a tooltip for the given item. |
| 123372 | */ handleTooltip (event, item, show) { |
| 123373 | if (item && item.tooltip != null) { |
| 123374 | item = resolveItem(item, event, this.canvas(), this._origin); |
| 123375 | const value7 = show && item && item.tooltip || null; |
| 123376 | this._tooltip.call(this._obj, this, event, item, value7); |
| 123377 | } |
| 123378 | }, |
| 123379 | /** |
| 123380 | * Returns the size of a scenegraph item and its position relative |
| 123381 | * to the viewport. |
nothing calls this directly
no test coverage detected