* Shows the tooltip with an animation originating from the provided origin * @param delay Amount of milliseconds to the delay showing the tooltip.
(delay: number)
| 1021 | * @param delay Amount of milliseconds to the delay showing the tooltip. |
| 1022 | */ |
| 1023 | show(delay: number): void { |
| 1024 | // Cancel the delayed hide if it is scheduled |
| 1025 | if (this._hideTimeoutId != null) { |
| 1026 | clearTimeout(this._hideTimeoutId); |
| 1027 | } |
| 1028 | |
| 1029 | this._showTimeoutId = setTimeout(() => { |
| 1030 | this._toggleVisibility(true); |
| 1031 | this._showTimeoutId = undefined; |
| 1032 | }, delay); |
| 1033 | } |
| 1034 | |
| 1035 | /** |
| 1036 | * Begins the animation to hide the tooltip after the provided delay in ms. |
nothing calls this directly
no test coverage detected