interface PageLinkDescriptor {
    crossOrigin?: "anonymous" | "use-credentials";
    disabled?: boolean;
    hrefLang?: string;
    integrity?: string;
    media?: string;
    page: string;
    referrerPolicy?:
        | ""
        | "no-referrer"
        | "no-referrer-when-downgrade"
        | "same-origin"
        | "origin"
        | "strict-origin"
        | "origin-when-cross-origin"
        | "strict-origin-when-cross-origin"
        | "unsafe-url";
}

Hierarchy

  • Omit<HtmlLinkDescriptor,
        | "href"
        | "rel"
        | "type"
        | "sizes"
        | "imageSrcSet"
        | "imageSizes"
        | "as"
        | "color"
        | "title">
    • PageLinkDescriptor

Properties

crossOrigin?: "anonymous" | "use-credentials"

How the element handles crossorigin requests

disabled?: boolean

Whether the link is disabled

hrefLang?: string

Language of the linked resource

integrity?: string

Integrity metadata used in Subresource Integrity checks

media?: string

Applicable media: "screen", "print", "(max-width: 764px)"

page: string

The absolute path of the page to prefetch.

referrerPolicy?:
    | ""
    | "no-referrer"
    | "no-referrer-when-downgrade"
    | "same-origin"
    | "origin"
    | "strict-origin"
    | "origin-when-cross-origin"
    | "strict-origin-when-cross-origin"
    | "unsafe-url"

Referrer policy for fetches initiated by the element