(tooltipItems, options)
| 580 | |
| 581 | // Get the footer and beforeFooter and afterFooter lines |
| 582 | getFooter(tooltipItems, options) { |
| 583 | const {callbacks} = options; |
| 584 | |
| 585 | const beforeFooter = invokeCallbackWithFallback(callbacks, 'beforeFooter', this, tooltipItems); |
| 586 | const footer = invokeCallbackWithFallback(callbacks, 'footer', this, tooltipItems); |
| 587 | const afterFooter = invokeCallbackWithFallback(callbacks, 'afterFooter', this, tooltipItems); |
| 588 | |
| 589 | let lines = []; |
| 590 | lines = pushOrConcat(lines, splitNewlines(beforeFooter)); |
| 591 | lines = pushOrConcat(lines, splitNewlines(footer)); |
| 592 | lines = pushOrConcat(lines, splitNewlines(afterFooter)); |
| 593 | |
| 594 | return lines; |
| 595 | } |
| 596 | |
| 597 | /** |
| 598 | * @private |
no test coverage detected