* The up/down arrow handler for time inputs * @param {Event} e the click event
(e: KeyboardEvent | MouseEvent)
| 543 | * @param {Event} e the click event |
| 544 | */ |
| 545 | function timeIncrement(e: KeyboardEvent | MouseEvent) { |
| 546 | const eventTarget = getEventTarget(e) as Element; |
| 547 | if (~eventTarget.className.indexOf("arrow")) |
| 548 | incrementNumInput(e, eventTarget.classList.contains("arrowUp") ? 1 : -1); |
| 549 | } |
| 550 | |
| 551 | /** |
| 552 | * Increments/decrements the value of input associ- |
nothing calls this directly
no test coverage detected
searching dependent graphs…