API reference: @salmonui/data-grid/engine
LocaleTextMethodstype
import type { LocaleTextMethods } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/locale.
type LocaleTextMethods<Row> = {
format(ctx: ModuleContext<Row>, key: string, params?: LocaleTextParams): string;
get(ctx: ModuleContext<Row>): LocaleText;
};
| Name | Signature | Description |
|---|---|---|
format | format(ctx: ModuleContext<Row>, key: string, params?: LocaleTextParams): string; | A message with placeholders filled, in the grid locale. |
get | get(ctx: ModuleContext<Row>): LocaleText; |