vpage.js
利用 jQuery 製作路由或簡單的 SPA。有兩種方式可以觸發事件,一種是 History 另外一種是 Hash。
利用 jQuery 製作路由或簡單的 SPA。有兩種方式可以觸發事件,一種是 History 另外一種是 Hash。
A small wrapper that encapsulates history.pushState and window.onpopstate and offers extra features - including 'No Going Back'