pjax-api-tsc
falsandtru氏のプラグイン「pjax-api」をWebpackでコンパイルしたものです。オリジナルで提供されているbrowseify製のものでは不都合な場合にご利用ください。
npm install pjax-api-tsc
PJAX
The second generation PJAX for the advanced web frameworks.
Features
Feature | defunkt | falsandtru | Turbolinks |
---|---|---|---|
Concurrency integration | X | O | X |
Multiple area update | X | O | O |
Fallback area matching | X | O | X |
Content type validation | X | O | O |
HEAD contents markless auto sync | X | O | X |
CSS markless auto sync | X | O | X |
Script markless auto load | X | O | X |
External script load | O | O | O |
Inline script execution | X | O | O |
Execution sequence keeping | X | O | X |
Non-blocking script load | O | O | O |
Lightweight source rewrite | X | O | O |
Cache | O | X | O |
URL scope | X | O | X |
URL scope-based override settings | X | O | X |
Browser history fix | X | O | X |
Scroll position restoration | X | O | X |
NOSCRIPT tag restoration | X | O | X |
Documents, APIs, and Demos
Usage
; new Pjax;
Browsers
Requires es6 and modern DOM API support.
- Chrome
- Firefox
- Safari
- Edge
Polyfill: https://cdn.polyfill.io