lengthBudgets
lengthBudgets(
fallback,fields):Partial<Record<CopyField,number>>
Defined in: slots.ts:44
The length budget per field: the length of each field’s fallback, for the
fields named in fields whose fallback is not empty. A field without a
fallback has no slot and no budget.
Parameters
Section titled “Parameters”fallback
Section titled “fallback”Partial<Record<CopyField, string | undefined>> | null | undefined
fields
Section titled “fields”readonly CopyField[]
Returns
Section titled “Returns”Partial<Record<CopyField, number>>