We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Is it possible to close stories on swipe up? Thanks!
The text was updated successfully, but these errors were encountered:
is it possible? swipe down/up to close?
Sorry, something went wrong.
Ramonszo, can you help, how can I use this maybe? https://codepen.io/warrino/pen/yOybaB
i have try to add, but its not working, what can be wrong? any?
`var element = document.getElementById("stories"); var startY; var endY; var diffY;
element.addEventListener("touchstart", function(event) { startY = event.touches[0].clientY; });
element.addEventListener("touchend", function(event) { endY = event.changedTouches[0].clientY; diffY = startY - endY;
if (diffY > 100) { stories.close(); } });`
No branches or pull requests
Hi! Is it possible to close stories on swipe up?
Thanks!
The text was updated successfully, but these errors were encountered: