Options
All
  • Public
  • Public/Protected
  • All
Menu

External module typings/core

Index

Type aliases

CacheAction

CacheAction: "init" | "enter" | "click" | "prefetch"

CacheRequest

CacheRequest: Promise<string | void>

HooksAfter

HooksAfter: "afterAppear" | "afterLeave" | "afterEnter"

HooksAll

HooksAppear

HooksAppear: "beforeAppear" | "appear" | "afterAppear" | "appearCanceled"

HooksBarba

HooksBarba: "ready" | "page" | "reset" | "currentAdded" | "currentRemoved" | "nextAdded" | "nextRemoved"

HooksBefore

HooksBefore: "beforeAppear" | "beforeLeave" | "beforeEnter"

HooksPage

HooksPage: "before" | "beforeLeave" | "leave" | "afterLeave" | "leaveCanceled" | "beforeEnter" | "enter" | "afterEnter" | "enterCanceled" | "after"

HooksTransition

HooksTransition: HooksAppear | HooksPage

HooksTransitionMap

HooksTransitionMap: object

Type declaration

HooksView

HooksView: HooksBefore | HooksAfter

IgnoreOption

IgnoreOption: boolean | string | string[]

Link

Link: HTMLAnchorElement | SVGAElement

LinkEvent

LinkEvent: MouseEvent | TouchEvent

PreventCheck

PreventCheck: function

Prevent check.

  • Receives check data.
  • If it returns true, Barba will prevent the action.

Type declaration

RequestCustomError

RequestCustomError: function

Type declaration

RequestError

RequestError: function

Type declaration

RequestErrorOrResponse

RequestErrorOrResponse: Error | IXhrResponse

RuleName

RuleName: "namespace" | "route" | "custom"

RuleType

RuleType: "strings" | "object" | "function"

SchemaAttributeValues

SchemaAttributeValues: "prefix" | "wrapper" | "container" | "prevent" | "namespace"

Scope

Scope: HTMLElement | HTMLDocument

Trigger

Trigger: Link | "popstate" | "barba"

Wrapper

Wrapper: HTMLElement | null

Generated using TypeDoc