(timestamp: number)
| 582 | } |
| 583 | |
| 584 | _toggleTimestampInSelection(timestamp: number) { |
| 585 | if (this.selectedDates.includes(timestamp)) { |
| 586 | this._removeTimestampFromSelection(timestamp); |
| 587 | } else { |
| 588 | this._addTimestampToSelection(timestamp); |
| 589 | announce(DayPicker.i18nBundle.getText(LIST_ITEM_SELECTED), InvisibleMessageMode.Assertive); |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | _addTimestampToSelection(timestamp: number) { |
| 594 | if (!this.selectedDates.includes(timestamp)) { |
no test coverage detected