(time?: number)
| 195 | } |
| 196 | |
| 197 | hideLater(time?: number) { |
| 198 | if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) { |
| 199 | if (time) { |
| 200 | this._hideDelay = time; |
| 201 | // Set show false to avoid invoke hideLater multiple times |
| 202 | this._show = false; |
| 203 | this._hideTimeout = setTimeout(zrUtil.bind(this.hide, this), time) as any; |
| 204 | } |
| 205 | else { |
| 206 | this.hide(); |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | isShow() { |
| 212 | return this._show; |