Handles blur events on the input.
()
| 362 | |
| 363 | /** Handles blur events on the input. */ |
| 364 | _onBlur() { |
| 365 | // Reformat the input only if we have a valid value. |
| 366 | if (this.value) { |
| 367 | this._formatValue(this.value); |
| 368 | } |
| 369 | |
| 370 | this._onTouched(); |
| 371 | } |
| 372 | |
| 373 | /** Formats a value and sets it on the input element. */ |
| 374 | protected _formatValue(value: D | null) { |
nothing calls this directly
no test coverage detected