monitor-api - v1.8.0
    Preparing search index...

    Interface INPLongestScript

    The script that contributed most to the INP interaction, from Long Animation Frames.

    interface INPLongestScript {
        intersectingDuration: number;
        invoker: string | null;
        invokerType: string | null;
        subpart: "input-delay" | "processing-duration" | "presentation-delay";
        url: string | null;
    }
    Index

    Properties

    intersectingDuration: number

    Milliseconds of the script that overlap that phase.

    invoker: string | null

    What invoked the script, for example BUTTON#save.onclick.

    invokerType: string | null
    subpart: "input-delay" | "processing-duration" | "presentation-delay"

    INP phase the script overlapped with most.

    url: string | null

    Script URL, or null for inline or unknown sources.