Namespace: Dom

.Pjax. Dom

Object that is going to deal with DOM parsing/manipulation

Members

staticBarba.Pjax.Dom.containerClassString

Class name used to identify the containers
Default Value:
  • barba-container

staticBarba.Pjax.Dom.currentHTMLString

Full HTML String of the current page. By default is the innerHTML of the initial loaded page. Each time a new page is loaded, the value is the response of the xhr call.

staticBarba.Pjax.Dom.dataNamespaceString

The name of the data attribute on the container
Default Value:
  • namespace

staticBarba.Pjax.Dom.wrapperIdString

Id of the main wrapper
Default Value:
  • barba-wrapper

Methods

staticBarba.Pjax.Dom.getWrapper(){HTMLElement}

Pjax/Dom.js, line 74
Get the main barba wrapper by the ID `wrapperId`