extras/noUiSlider/nouislider.js
function ( e ){

                if ( scope_Target.hasAttribute('disabled') ) {
                    return false;
                }

                // Stop if an active 'tap' transition is taking place.
                if ( hasClass(scope_Target, options.cssClasses.tap) ) {
                    return false;
                }

                e = fixEvent(e, data.pageOffset);

                // Handle reject of multitouch
                if ( !e ) {
                    return false;
                }

                // Ignore right or middle clicks on start #454
                if ( events === actions.start && e.buttons !== undefined && e.buttons > 1 ) {
                    return false;
                }

                // Ignore right or middle clicks on start #454
                if ( data.hover && e.buttons ) {
                    return false;
                }

                e.calcPoint = e.points[ options.ort ];

                // Call the event handler with the event [ and additional data ].
                callback ( e, data );
            }
function ( e ){

                if ( scope_Target.hasAttribute('disabled') ) {
                    return false;
                }

                // Stop if an active 'tap' transition is taking place.
                if ( hasClass(scope_Target, options.cssClasses.tap) ) {
                    return false;
                }

                e = fixEvent(e, data.pageOffset);

                // Handle reject of multitouch
                if ( !e ) {
                    return false;
                }

                // Ignore right or middle clicks on start #454
                if ( events === actions.start && e.buttons !== undefined && e.buttons > 1 ) {
                    return false;
                }

                // Ignore right or middle clicks on start #454
                if ( data.hover && e.buttons ) {
                    return false;
                }

                e.calcPoint = e.points[ options.ort ];

                // Call the event handler with the event [ and additional data ].
                callback ( e, data );
            }
function ( e ) { if ( scope_Target . hasAttribute ( 'disabled' ) ) { return false ; } // Stop if an active 'tap' transition is taking place. if ( hasClass ( scope_Target , options . cssClasses . tap ) ) { return false ; } e = fixEvent ( e , data . pageOffset ) ; // Handle reject of multitouch if ( ! e ) { return false ; } // Ignore right or middle clicks on start #454 if ( events === actions . start && e . buttons !== undefined && e . buttons > 1 ) { return false ; } // Ignore right or middle clicks on start #454 if ( data . hover && e . buttons ) { return false ; } e . calcPoint = e . points [ options . ort ] ; // Call the event handler with the event [ and additional data ]. callback ( e , data ) ; }
This function can be used to 'filter' events to the slider. element is a node, not a nodeList
This function can be used to filter events to the slider . element is a node not a nodeList