Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrefetchWatcherConfig

Hierarchy

  • PrefetchWatcherConfig

Index

Properties

Properties

callback

callback: (param: HTMLElement) => void

A callback to allow using attributes of the discovered element to be used to prefetch resources as needed.

Type declaration

    • (param: HTMLElement): void
    • Parameters

      • param: HTMLElement

      Returns void

selector

selector: string

The CSS selector to use when finding elements whose src or href should be deep fetched

Generated using TypeDoc