* The user selected a new date in the calendar * @param e * @protected
(e: CustomEvent<CalendarSelectionChangeEventDetail>)
| 1014 | * @protected |
| 1015 | */ |
| 1016 | onSelectedDatesChange(e: CustomEvent<CalendarSelectionChangeEventDetail>) { |
| 1017 | e.preventDefault(); |
| 1018 | const newValue = e.detail.selectedValues && e.detail.selectedValues[0]; |
| 1019 | this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]); |
| 1020 | |
| 1021 | this._togglePicker(); |
| 1022 | } |
| 1023 | |
| 1024 | /** |
| 1025 | * The user clicked the "month" button in the header |
nothing calls this directly
no test coverage detected