Skip to main content 5分間のコミュニティアンケートにご協力ください。2025/4/11 まで回答を受け付けております。こちらをクリックするとご参加いただけます。
Currently I m using next and previous arrow buttons on click of which i call my javascript function. I want to call this function on left and right swipe event. Can somebody suggest a way to capture the left and right swipe on my component?
3 件の回答
  1. 2015年11月17日 7:14
    Thanks James,

    The example suggested uses an open source range slider, I can use that to implement slider. I will look into this to see how i can use this in my app. But what i am actually looking for is a way to capture left/right swipe event and perform a certain action. Please share if you come across any such similar app.

    btw typo is noted (was hoping no one would notice :( )....  
  2. 2016年6月30日 3:54
    @Ashutosh did you find any way of implementing swipe feature in lightning? I tried with hammer.js but event binding to appropriate callback especially after DOM elements are rendered is not happening. Any one who tried the gestures of left swipe and right swipe please let me know how this is possible with lightning. Thanks. 
0/9000