* Modifies timestamp by a given amount of years and, if necessary, loads the prev/next page. * @param amount * @private
(amount: number)
| 340 | * @private |
| 341 | */ |
| 342 | _modifyTimestampBy(amount: number) { |
| 343 | // Modify the current timestamp |
| 344 | this._safelyModifyTimestampBy(amount, "year"); |
| 345 | this._updateSecondTimestamp(); |
| 346 | |
| 347 | // Notify the calendar to update its timestamp |
| 348 | this.fireDecoratorEvent("navigate", { timestamp: this.timestamp! }); |
| 349 | } |
| 350 | |
| 351 | _onkeyup(e: KeyboardEvent) { |
| 352 | if (isSpace(e)) { |
no test coverage detected