* Handles clicking on the `submit` button, within the picker`s footer in mobile devices.
()
| 306 | * Handles clicking on the `submit` button, within the picker`s footer in mobile devices. |
| 307 | */ |
| 308 | _submitClick() { |
| 309 | if (!this._startDateTimestamp || !this._endDateTimestamp) { |
| 310 | return; |
| 311 | } |
| 312 | |
| 313 | const newValue = this._buildValue(this._startDateTimestamp, this._endDateTimestamp); |
| 314 | this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]); |
| 315 | this._togglePicker(); |
| 316 | } |
| 317 | |
| 318 | /** |
| 319 | * Handles clicking on the `cancel` button, within the picker`s footer, |
nothing calls this directly
no test coverage detected