All-in-one location/hashchange history management library

前端 未结 7 520
礼貌的吻别
礼貌的吻别 2020-12-23 13:55

First of all, I know there\'s libraries that provide polyfills for location.pushState/popState (History.js, Hash.js, jQuery hashchange), so please

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 14:27

    Several suggestions

    • ExtJs, see their History Example, and here are the docs.
    • YUI Browser History Manager.
    • jQuery BBQ seem to provide a more advanced feature-set over jQuery.hashcode.
    • ReallySimpleHistory may also be of help, though it's quite old and possibly outdated.

    Note: ExtJs History has been extended to optimize duplicate (redundant) calls to add().

提交回复
热议问题