javascript - How does a single-page application monitor the iOS WeChat return key?
typecho
typecho 2017-06-28 09:27:26
0
1
1022

Write a project using angularJs and run it on the WeChat official account. There is also a return key in the project. How can I monitor the return key of IOS WeChat?

typecho
typecho

Following the voice in heart.

reply all (1)
Ty80

Pressing the return key should be equivalent to history.back(), try listening to onpopstate

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!