Version 3.17.2
Show:

pjax Module

User Guide & Examples
Defined in: pjax/js/pjax.js:58

Available since 3.5.0

Provides seamless, gracefully degrading Pjax (pushState + Ajax) functionality, which makes it easy to progressively enhance standard links on the page so that they can be loaded normally in old browsers, or via Ajax (with HTML5 history support) in newer browsers.

This module provides the following classes:

This module is a rollup of the following modules:

  • pjax-base
    Y.Router extension that provides the core plumbing for enhanced navigation implemented using the pjax technique (HTML5 pushState + Ajax).
  • pjax-content
    Y.Router extension that provides the content fetching and handling needed to implement the standard pjax (HTMP5 pushState + Ajax) functionality.
  • pjax-plugin
    Node plugin that provides seamless, gracefully degrading pjax functionality.