amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Detect swipe and trigger click

Open bjalford opened this issue 9 years ago • 1 comments

Is it possible to detect swipe action and use that to trigger a link click to trigger a new page load?

I've also seen this which is specifically about next/previous page functionality but was wondering if this isn't implemented whether a custom version could be built using just the swipe: https://github.com/ampproject/amphtml/issues/655

bjalford avatar Feb 01 '17 12:02 bjalford

Is it possible to detect swipe action and use that to trigger a link click to trigger a new page load?

No it's not possible.

I've also seen this which is specifically about next/previous page functionality but was wondering if this isn't implemented whether a custom version could be built using just the swipe: #655

This seems like it could be a feature of the next/prev button component. Let's move the discussion to #655.

jridgewell avatar Feb 01 '17 20:02 jridgewell