Closes the timepicker.
()
| 285 | |
| 286 | /** Closes the timepicker. */ |
| 287 | close(): void { |
| 288 | if (this._isOpen()) { |
| 289 | this._isOpen.set(false); |
| 290 | this.closed.emit(); |
| 291 | |
| 292 | if (this._animationsDisabled) { |
| 293 | this._overlayRef?.detach(); |
| 294 | } |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | /** Registers an input with the timepicker. */ |
| 299 | registerInput(input: MatTimepickerConnectedInput<D>): void { |
no test coverage detected