PreparedMessage
import type { PreparedMessage } from 'pixi-silk/i18n/pixi';
A message ready to show. Immutable and shared by every SilkMessage made from it.
Properties#
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bundle | readonly | SilkBundle | The bundle it comes from (the fallback locale’s when the locale lacked it). | packages/pixi-silk/src/i18n/pixi/silk.ts:147 |
index | readonly | number | Message index in the bundle. | packages/pixi-silk/src/i18n/pixi/silk.ts:149 |
silk | readonly | Silk | The Silk it belongs to. | packages/pixi-silk/src/i18n/pixi/silk.ts:145 |
spec | readonly | Required<Omit<MessageSpec, "style">> & { style: string; } | Its options, defaults filled in. | packages/pixi-silk/src/i18n/pixi/silk.ts:153 |
theme | readonly | SilkTheme | Its theme. | packages/pixi-silk/src/i18n/pixi/silk.ts:151 |