code: function (e) {
                              e.preventDefault();
  
                              var ori = e.originalEvent
                                  ,deltaX = ori.detail || ori.wheelDeltaX
                                  ,deltaY = ori.detail || ori.wheelDeltaY
                                  ,v = s._validate(s.$.val())
                                      + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0);
  
                              v = max(min(v, s.o.max), s.o.min);
                              
                              s.val(v);
  
                              if(s.rH) {
                                  // Handle mousewheel stop
                                  clearTimeout(mwTimerStop);
                                  mwTimerStop = setTimeout(function() {
                                      s.rH(v);
                                      mwTimerStop = null;
                                  }, 100);
  
                                  // Handle mousewheel releases
                                  if(!mwTimerRelease) {
                                      mwTimerRelease = setTimeout(function() {
                                          if(mwTimerStop) s.rH(v);
                                          mwTimerRelease = null;
                                      }, 200);
                                  }
                              }
                          }
docs: bind MouseWheel