* Return `true` if the given event is a wheeldown event * * @param {WheelEvent} wheelEvent * @returns {boolean}
(wheelEvent)
| 803 | * @returns {boolean} |
| 804 | */ |
| 805 | static isWheelDownEvent(wheelEvent) { |
| 806 | if (!this.isWheelEvent(wheelEvent) || this.isUndefinedOrNullOrEmpty(wheelEvent.deltaY)) { |
| 807 | this.throwError(`The event passed as a parameter is not a valid wheel event, '${wheelEvent.type}' given.`); |
| 808 | } |
| 809 | |
| 810 | return wheelEvent.deltaY > 0; |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * Return `true` if the given event is an instance of WheelEvent and the deltaY value is equal to zero |
no test coverage detected