* Return `true` if the given event is a wheelup event * * @param {WheelEvent} wheelEvent * @returns {boolean}
(wheelEvent)
| 789 | * @returns {boolean} |
| 790 | */ |
| 791 | static isWheelUpEvent(wheelEvent) { |
| 792 | if (!this.isWheelEvent(wheelEvent) || this.isUndefinedOrNullOrEmpty(wheelEvent.deltaY)) { |
| 793 | this.throwError(`The event passed as a parameter is not a valid wheel event, '${wheelEvent.type}' given.`); |
| 794 | } |
| 795 | |
| 796 | return wheelEvent.deltaY < 0; |
| 797 | } |
| 798 | |
| 799 | /** |
| 800 | * Return `true` if the given event is a wheeldown event |
no test coverage detected