diff --git a/README.md b/README.md index 926f24a4..7f428e34 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ Most SPA frameworks and pjax libraries lack many essential functions to keep the |Feature|defunkt|Turbolinks|falsandtru|Barba| |:------|:-----:|:--------:|:--------:|:---:| -|**Concurrent sequence integration**| | |✓| | -|Shadow DOM support| | |✓| | +|**SPA mode (Use JSON instead of HTML)**| | |✓| | |*Multiple area update*| |✓|✓| | |Fallback area matching| | |✓| | +|Shadow DOM support| | |✓| | |Content type verification| |✓|✓| | |*HEAD contents markless auto sync*| | |✓| | |*CSS markless auto sync*| | |✓| | @@ -37,6 +37,7 @@ Most SPA frameworks and pjax libraries lack many essential functions to keep the |**Subresource integrity verification**| | |✓\*1| | |**Rewrite request and response (XHR)**| | |✓| | |Rewrite source document| |✓|✓| | +|Concurrent sequence integration| | |✓| | |ETag support| | |✓| | |Cache|✓|✓|✓|✓| |URL scope| | |✓|✓| diff --git a/gh-pages/docs/apis/util/index.md b/gh-pages/docs/apis/util/index.md index 7dd333a0..628ceeb2 100644 --- a/gh-pages/docs/apis/util/index.md +++ b/gh-pages/docs/apis/util/index.md @@ -10,7 +10,9 @@ class: style-api style-api-detail ## FakeXMLHttpRequest -Make a fake XHR object that doesn't send a request. +### .create(url: string, response: Document | PromiseLike\): FakeXMLHttpRequest + +Create a fake XHR object that doesn't send a request. ```ts import Pjax, { FakeXMLHttpRequest } from 'pjax-api'; diff --git a/gh-pages/index.md b/gh-pages/index.md index d59f0f03..ec57f676 100644 --- a/gh-pages/index.md +++ b/gh-pages/index.md @@ -18,7 +18,7 @@ class: style-top - Scroll position restoration - Unexpected scroll prevention - Scroll behaviors around hash links -- Concurrent sequence integration +- [**SPA mode (Use JSON instead of HTML)**]({{ site.basepath }}docs/apis/util/) - [More](https://github.com/falsandtru/pjax-api#features)