Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#history兼容性补丁包 主要是SPA用,对不支持history.pushState的情况使用hash处理

//changeState
history[pushState | replaceState]([state|null, title|null, url|null, onCallback|null, offCallback]);
//listener
history[onback | onforward | onstatechange | onpopstate](func);
//browser
history[back | forward | reload]

About

history[popstate|pushstate] 兼容性&强化补丁包

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages