Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Prefetch

Hierarchy

  • Prefetch

Implements

Index

Properties

barba

barba: Core

limit

limit: number

logger

logger: Logger

name

name: string = "@barba/prefetch"

observer

observer: IntersectionObserver

root

root: HTMLElement | HTMLDocument

timeout

timeout: number

toPrefetch

toPrefetch: Set<string> = new Set()

version

version: string = version

Methods

init

  • init(): void

install

  • install(barba: Core, __namedParameters?: object): void
  • Plugin installation.

    Parameters

    • barba: Core
    • Default value __namedParameters: object = {}
      • limit: number
      • root: HTMLElement | HTMLDocument
      • timeout: number

    Returns void

observe

  • observe(): void

Generated using TypeDoc