Saltearse al contenido

integrations/webVitals/utils/webVitalsUtils

Esta página aún no está disponible en tu idioma.

function calculateClsAverage(clsValues: number[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:10^

number[]

number


function calculateClsScorePercent(cls: number): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:51^

number

number


function calculateClsScoreText(cls: number): string

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:35^

number

string


function calculateInpAverage(inpValues: number[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:202^

number[]

number


function calculateInpScorePercent(inp: number): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:243^

number

number


function calculateInpScoreText(inp: number): string

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:227^

number

string


function calculateLcpAverage(lcpValues: number[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:106^

number[]

number


function calculateLcpScorePercent(lcp: number): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:147^

number

number


function calculateLcpScoreText(lcp: number): string

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:131^

number

string


function clsDataAverage(webVitalData: WebVitalsResponseItem[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:20^

WebVitalsResponseItem[]

number


function clsTextColor(clsData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:93^

number

"green" | "yellow" | "red"


function generateLighthouseFetchUrl(url: string, strategy: "mobile" | "desktop" | "mixed-content"): string

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:298^

string

"mobile" | "desktop" | "mixed-content"

string


function inpDataAverage(webVitalData: WebVitalsResponseItem[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:212^

WebVitalsResponseItem[]

number


function inpTextColor(inpData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:285^

number

"green" | "yellow" | "red"


function lcpDataAverage(webVitalData: WebVitalsResponseItem[]): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:116^

WebVitalsResponseItem[]

number


function lcpTextColor(lcpData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:189^

number

"green" | "yellow" | "red"


function msToSeconds(ms: number): number

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:4^

number

number


function progressBarClsColor(clsData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:67^

number

"green" | "yellow" | "red"


function progressBarClsTrackColor(clsData: number): "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:80^

number

"yellow" | "red"


function progressBarInpColor(inpData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:259^

number

"green" | "yellow" | "red"


function progressBarInpTrackColor(inpData: number): "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:272^

number

"yellow" | "red"


function progressBarLcpColor(lcpData: number): "green" | "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:163^

number

"green" | "yellow" | "red"


function progressBarLcpTrackColor(lcpData: number): "yellow" | "red"

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/webVitalsUtils.ts:176^

number

"yellow" | "red"