摘要:
``` var broswer=localStorage.getItem('temp') //浏览器环境 var u = navigator.userAgent var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //这个判断 是不是ios手机 ... 阅读全文
posted @ 2018-11-29 15:04
李美玲
阅读(2634)
评论(0)
推荐(1)
摘要:
```
document.body.addEventListener('focusin', () => { //软键盘弹起事件 console.log("键盘弹起") })
document.body.addEventListener('focusout', () => { //软键盘关闭事件 console.log("键盘收起") })
``` 阅读全文
posted @ 2018-11-29 14:59
李美玲
阅读(4404)
评论(1)
推荐(0)

浙公网安备 33010602011771号