会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
与f
博客园
首页
新随笔
联系
管理
订阅
2018年7月16日
有趣的API: history pushState/popstate 无刷新跳转(pjax)
摘要: API介绍 首先看看API如何使用: history.pushState(state, title, url) : 无刷新的向浏览器 历史最前方 加入一条记录。 state(any) 需要保存的数据,这个数据在触发popstate事件时保存在event.state上。 title(string):
阅读全文
posted @ 2018-07-16 11:13 与f
阅读(478)
评论(0)
推荐(0)
公告