检测移动设备的浏览器或应用内信息-JavaScript开发

时间:2021-05-26 02:28:53
【文件属性】:
文件名称:检测移动设备的浏览器或应用内信息-JavaScript开发
文件大小:76KB
文件格式:ZIP
更新时间:2021-05-26 02:28:53
JavaScript Miscellaneous 检测InApp检测移动设备的浏览器或应用内信息代码示例从“ detect-inapp”导入InApp; const inapp =新的InApp(navigator.userAgent || navigator.vendor || window.opera); Instal Detect InApp可检测移动设备的浏览器或应用内信息。代码示例从“ detect-inapp”导入InApp; const inapp =新的InApp(navigator.userAgent || navigator.vendor || window.opera); 安装纱线添加检测inapp API参考inapp.isMobile()inapp.isTablet()inapp.isDesktop()inapp.inBot()inapp.isInApp()inapp.isApplePay()inapp.isInstalled('APP_NAME')inapp.os值:'android','ios','windows'inapp.device inapp.browser值:'messeng
【文件预览】:
detect-inapp-master
----.travis.yml(197B)
----.eslintrc(457B)
----.babelrc(34B)
----package.json(1KB)
----src()
--------index.js(4KB)
--------qrcode.png(522B)
--------inapp.js(1KB)
--------__test__()
--------index.css(201B)
----.gitignore(1KB)
----public()
--------index.html(967B)
----README.md(1KB)
----yarn.lock(248KB)

网友评论