You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/12/06 09:12:16 UTC
[GitHub] [cordova-plugin-wkwebview-engine] eliot-ye opened a new issue #126:
Can I have a callback triggered after the completion of 'swipe navigation'
to judge whether to start page switching animation?
eliot-ye opened a new issue #126: Can I have a callback triggered after the completion of 'swipe navigation' to judge whether to start page switching animation?
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/126
# Feature Request
## Motivation Behind Feature
<!-- Why should this feature be implemented? What problem does it solve? -->
When I see this plug-in and see the 'enabling navigation gears ("swipe navigation") function, I am very excited, which is very cool.
But this is a Cordova plug-in, corresponding to webapp. Generally speaking, the HTML page switching in our Cordova app will start the page switching animation, which conflicts with the 'swipe navigation' animation.
Can I have a callback triggered after the completion of 'swipe navigation' to judge whether to start page switching animation?
## Feature Description
<!--
Describe your feature request in detail
Please provide any code examples or screenshots of what this feature would look like
Are there any drawbacks? Will this break anything for existing users?
-->
window.backForwardNavigationGestures(function(){
// Trigger back forward navigation gears, do some thing
})
## Alternatives or Workarounds
<!--
Describe alternatives or workarounds you are currently using
Are there ways to do this with existing functionality?
-->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org