# Siga touche


Introduction:

Siga touche is created to Support touchscreen devices. Run Siga.touch.register() to get touch event support.

Tap
                  
Siga.events.add(element, 'tap', function(e) {
  alert('tap');
});                  
                

Swip
                  
Siga.events.add(element, 'swipe', function(e) {
  alert('swipe');
});                   
                  
                

Orientation Changes

Device orientation is available in Siga.touch.orientation().

                  
Siga.events.add(element, 'orientationchange', function(e) {
  alert('Orientation is now: ' + Siga.touch.orientation());
});