(time?: number)
| 529 | } |
| 530 | |
| 531 | hideLater(time?: number) { |
| 532 | if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) { |
| 533 | if (time) { |
| 534 | this._hideDelay = time; |
| 535 | // Set show false to avoid invoke hideLater multiple times |
| 536 | this._show = false; |
| 537 | this._hideTimeout = setTimeout(bind(this.hide, this), time) as any; |
| 538 | } |
| 539 | else { |
| 540 | this.hide(); |
| 541 | } |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | isShow() { |
| 546 | return this._show; |
no test coverage detected