Interface FontOptions

Font options used by FontFace and FontFaceObserver

interface FontOptions {
    descriptors?: FontFaceDescriptors;
    testString?: string;
    timeout?: number;
    variant?: FontVariant;
}

Properties

descriptors?: FontFaceDescriptors
testString?: string

Argument for FontFace.load

timeout?: number

Argument for FontFace.load

variant?: FontVariant

FontFaceObserver.FontVariant