Skip to content
pixi-silk
GitHub repository
Variable

SlotFlag

import { SlotFlag } from 'pixi-silk/i18n';
const SlotFlag: {
  NoFastPath: 4;
  Percent: 8;
  Plural: 2;
  Tabular: 1;
};

Slot flags.

Type Declaration#

NameTypeDefault valueDescriptionDefined in
NoFastPath44The face has no tnum: the value-fast update is disabled for this slot.packages/pixi-silk/src/i18n/format.ts:100
Percent88Format as a percentage (Intl.NumberFormat style percent): 0.25 shows as 25%.packages/pixi-silk/src/i18n/format.ts:102
Plural22The slot selects the plural variant.packages/pixi-silk/src/i18n/format.ts:98
Tabular11Digits have one width (tnum was applied when baking).packages/pixi-silk/src/i18n/format.ts:96