stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CheckoutBrandingFontLoadingStrategy

AdminTypes.CheckoutBrandingFontLoadingStrategy enum

The font loading strategy determines how a font face is displayed after it is loaded or failed to load. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display.

Signature:

export declare enum CheckoutBrandingFontLoadingStrategy 

Enumeration Members

Member Value Description
Auto "AUTO" The font display strategy is defined by the browser user agent.
Block "BLOCK" Gives the font face a short block period and an infinite swap period.
Fallback "FALLBACK" Gives the font face an extremely small block period and a short swap period.
Optional "OPTIONAL" Gives the font face an extremely small block period and no swap period.
Swap "SWAP" Gives the font face an extremely small block period and an infinite swap period.