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.
9 lines
452 B
9 lines
452 B
|
2 months ago
|
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;
|