Modules.
Utils.
Hooks
Barba logger.
Plugins.
Schemas.
Options
Version.
Bind event listeners.
When an element is clicked.
Get valid link element. Prevent same URL. Go for a Barba transition.
When a element is entered.
Get valid link element. Cache URL if needed.
When History state changes.
Get "href" from URL Go for a Barba transition.
Reset pages data.
Set "current" and unset "next".
Bind event listeners.
Manage "self page" href:
See IBarbaOptions for more details.
Default values are:
[]
[]
2e3
false
false
false
false
null
,false
'off'
When a request error occurs.
Allow the user to manage request error. (E.g: 404)
If some registered "once" transition, get the "resolved" transition from the store and start it.
sync: true
, to: …
).If "self", use the "self" transition
Programmatically prefetch
See IBarbaPlugin for more details.
Generated using TypeDoc
Logger class, allows plugins to create Logger.