You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
452 B
8 lines
452 B
import { FCPReportCallbackWithAttribution, ReportOpts } from '../types.js';
|
|
/**
|
|
* Calculates the [FCP](https://web.dev/fcp/) value for the current page and
|
|
* calls the `callback` function once the value is ready, along with the
|
|
* relevant `paint` performance entry used to determine the value. The reported
|
|
* value is a `DOMHighResTimeStamp`.
|
|
*/
|
|
export declare const onFCP: (onReport: FCPReportCallbackWithAttribution, opts?: ReportOpts) => void;
|
|
|