Receiver.onSwipe( callback )

Use this method to pass a function to a receiver, which should be called while the controlling user swipes across the screen. 

Callback arguments

  • object data

    • string direction
      Indicates the part of the screen the user is swiping
      left, right, up or down




var swiper = PLUGPIN.createReceiver();

swiper.onSwipe( function( direction )
    console.log( direction );
} );


Contact us

Talk to us!
Tell us anything you want to and please add your contact information.

Our contact info
tel. +31 (0) 20 2170013

Groenhoedenveem 28
1019 BL Amsterdam
The Netherlands

News letter

Enter your e-mail address to stay informed on everything PlugPIN!