Updates the tooltip class
(
tooltipClass: string | string[] | Set<string> | {[key: string]: unknown},
)
| 714 | |
| 715 | /** Updates the tooltip class */ |
| 716 | private _setTooltipClass( |
| 717 | tooltipClass: string | string[] | Set<string> | {[key: string]: unknown}, |
| 718 | ) { |
| 719 | if (this._tooltipInstance) { |
| 720 | this._tooltipInstance.tooltipClass = |
| 721 | tooltipClass instanceof Set ? Array.from(tooltipClass) : tooltipClass; |
| 722 | this._tooltipInstance._markForCheck(); |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | /** Inverts an overlay position. */ |
| 727 | private _invertPosition(x: HorizontalConnectionPos, y: VerticalConnectionPos) { |
no test coverage detected