gpt4 book ai didi

iphone - 检测滑动 Action 以转到 ipad Web 应用程序上的另一个网页

转载 作者:行者123 更新时间:2023-12-03 19:40:05 24 4
gpt4 key购买 nike

我目前正在尝试设置 iPad 网络应用程序。我有我的主页,但希望用户向左滑动并进入“关于”页面。我找到了一种从 padilicious.com 检测移动的方法,但不知道如何通过滑动更改页面。

最佳答案

假设您使用 padilicious 中的移动检测:

if ( swipeDirection == 'left' ) {
window.location.href = 'about.html';
}

关于iphone - 检测滑动 Action 以转到 ipad Web 应用程序上的另一个网页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4985658/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com