MCPcopy
hub / github.com/autoNumeric/autoNumeric / isWheelEvent

Method isWheelEvent

src/AutoNumericHelper.js:781–783  ·  view source on GitHub ↗

* Return `true` if the given event is an instance of WheelEvent * * @static * @param {event} event The event to test * @returns {boolean} Return `true` if the event is an instance of WheelEvent, FALSE otherwise

(event)

Source from the content-addressed store, hash-verified

779 * @returns {boolean} Return `true` if the event is an instance of WheelEvent, FALSE otherwise
780 */
781 static isWheelEvent(event) {
782 return event instanceof WheelEvent;
783 }
784
785 /**
786 * Return `true` if the given event is a wheelup event

Callers 3

isWheelUpEventMethod · 0.95
isWheelDownEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected