(tooltipItems, options)
| 618 | |
| 619 | // Get the footer and beforeFooter and afterFooter lines |
| 620 | getFooter(tooltipItems, options) { |
| 621 | const {callbacks} = options; |
| 622 | |
| 623 | const beforeFooter = invokeCallbackWithFallback(callbacks, 'beforeFooter', this, tooltipItems); |
| 624 | const footer = invokeCallbackWithFallback(callbacks, 'footer', this, tooltipItems); |
| 625 | const afterFooter = invokeCallbackWithFallback(callbacks, 'afterFooter', this, tooltipItems); |
| 626 | |
| 627 | let lines = []; |
| 628 | lines = pushOrConcat(lines, splitNewlines(beforeFooter)); |
| 629 | lines = pushOrConcat(lines, splitNewlines(footer)); |
| 630 | lines = pushOrConcat(lines, splitNewlines(afterFooter)); |
| 631 | |
| 632 | return lines; |
| 633 | } |
| 634 | |
| 635 | /** |
| 636 | * @private |
no test coverage detected