(overlayContainer: HTMLElement, isVisible: boolean)
| 1729 | } |
| 1730 | |
| 1731 | function finishCurrentTooltipAnimation(overlayContainer: HTMLElement, isVisible: boolean) { |
| 1732 | const tooltip = overlayContainer.querySelector('.mat-mdc-tooltip')!; |
| 1733 | const event = createFakeEvent('animationend'); |
| 1734 | Object.defineProperty(event, 'animationName', { |
| 1735 | get: () => `mat-mdc-tooltip-${isVisible ? 'show' : 'hide'}`, |
| 1736 | }); |
| 1737 | dispatchEvent(tooltip, event); |
| 1738 | } |
no test coverage detected
searching dependent graphs…