Web viewer Swipe gestures left and right

I created an app that uses web viewer component to load html files from assets …

All I need is that the user can swipe left or right to load the previous or next file …

I know how to make this using buttons next and previous but I need a swipe gesture instead if that possible

Thanks in advance

1 Like

You need to write code in function in JavaScript inside html file for left and right swipe and this function sends data from webviever through webview string and receive.
Its just work like bridge between webviever and app interface

1 Like

Please Could you show me a sample of that … as I don’t know how to do it?

Sorry it takes time to write code in js