Skip to main content

Home > @jsplumbtoolkit/browser-ui > addWheelListener

addWheelListener() function#

Signature:

export declare function addWheelListener(el: any, callback: Function, ignoreTouchWheelEvents?: boolean, requireMetaKey?: boolean): (e: any) => void;

Parameters#

ParameterTypeDescription
elany
callbackFunction
ignoreTouchWheelEventsboolean
requireMetaKeyboolean

Returns:

(e: any) => void