(overlayContainer: HTMLElement, isVisible: boolean)
| 1696 | } |
| 1697 | |
| 1698 | function finishCurrentTooltipAnimation(overlayContainer: HTMLElement, isVisible: boolean) { |
| 1699 | const tooltip = overlayContainer.querySelector('.mat-mdc-tooltip')!; |
| 1700 | const event = createFakeEvent('animationend'); |
| 1701 | Object.defineProperty(event, 'animationName', { |
| 1702 | get: () => `mat-mdc-tooltip-${isVisible ? 'show' : 'hide'}`, |
| 1703 | }); |
| 1704 | dispatchEvent(tooltip, event); |
| 1705 | } |
no test coverage detected