每当我执行推送状态时,Statechange就会触发
问题描述:
我正在使用history.js来处理后退按钮。在history.js中,只要我执行pushstate,statechange就会触发。为什么?
I am using history.js to handle back button. In history.js statechange is firing whenever i do a pushstate. Why?
我正在使用history.js来处理后退按钮。在history.js中,只要我执行pushstate,statechange就会触发。为什么?
I am using history.js to handle back button. In history.js statechange is firing whenever i do a pushstate. Why?