title: jQuery UI Spinner Up Down event
body: <p>I am using jquery UI spinner and I want to know if the spin is up or down I have tried using:</p>
  
  <pre><code>
  $('#days').spinner({
      min:0,
      spin: function(event, ui){
          console.log(ui.value);
          $day = ui.value;
          //Now here I want to detect if the event is up or down and perform 
           another function according to event type
      }
  )}; 
  </code></pre>
  
  <p>This is my code,but the event is not specific to up or down
  I want to detect if its up or down so that I can perform accordingly to these events.Thanks</p>