history.js 介绍
history.js ?是 一个 在所有 html5 浏览器中 支持 历史/状态的 API(pushState,replaceState,onPopState)。 包括 对数据, 标题 ,replaceState 的 支持 。 支持 jQuery ,MooTools 和 Prototype 。对于html5浏览器,这意味着你可以直接 修改 URL,而不需要再使用 hashes 。?
安装:
npm install --save history
?
GitHub: https://github.com/ReactTraining/history
网站描述: HTML5浏览器历史/状态API
history.js官方网站
官方网站:
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did175031